Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 89.3 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.278e-05, allocations: 7.984 kB / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3326, allocations: 69.34 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4536, allocations: 99.61 MB / 0.6453 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4538, allocations: 79.94 kB / 0.6453 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06841/0.5222, allocations: 25.74 MB / 0.6705 GB, free: 6.945 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5223, allocations: 0 / 0.6705 GB, free: 6.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.415e-05/0.5223, allocations: 20 kB / 0.6705 GB, free: 6.926 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004411/0.5268, allocations: 1.713 MB / 0.6722 GB, free: 5.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5268, allocations: 15.97 kB / 0.6722 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.53, allocations: 0.5486 MB / 0.6727 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5315, allocations: 0.767 MB / 0.6735 GB, free: 3.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.5318, allocations: 264.2 kB / 0.6737 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5319, allocations: 76.25 kB / 0.6738 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5335, allocations: 0.9462 MB / 0.6747 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5335, allocations: 0 / 0.6747 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5337, allocations: 35.94 kB / 0.6748 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5337, allocations: 19.94 kB / 0.6748 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5352, allocations: 0.8631 MB / 0.6756 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2943/0.8294, allocations: 3.492 MB / 0.679 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.8311, allocations: 1.239 MB / 0.6802 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/0.832, allocations: 0.5771 MB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.8322, allocations: 13.56 kB / 0.6808 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.8322, allocations: 41.94 kB / 0.6809 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.576e-06/0.8322, allocations: 0 / 0.6809 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01377/0.846, allocations: 4.045 MB / 0.6848 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.8461, allocations: 91.48 kB / 0.6849 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.8471, allocations: 0.7594 MB / 0.6856 GB, free: 103 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.8473, allocations: 41.42 kB / 0.6857 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.8476, allocations: 494.7 kB / 0.6862 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.8479, allocations: 315.6 kB / 0.6865 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.848, allocations: 19.16 kB / 0.6865 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.848, allocations: 337.8 kB / 0.6868 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.8487, allocations: 444 kB / 0.6872 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.8494, allocations: 0.5385 MB / 0.6877 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.8501, allocations: 481.6 kB / 0.6882 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8502, allocations: 0 / 0.6882 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01162/0.8618, allocations: 4.201 MB / 0.6923 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.862, allocations: 0.7949 MB / 0.6931 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8621, allocations: 7.75 kB / 0.6931 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.8673, allocations: 1.712 MB / 0.6948 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.868, allocations: 134.5 kB / 0.6949 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.8813, allocations: 7.264 MB / 0.702 GB, free: 96.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8828, allocations: 195.5 kB / 0.7022 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.883, allocations: 36.52 kB / 0.7022 GB, free: 96.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.883, allocations: 1.75 kB / 0.7022 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/0.8944, allocations: 4.072 MB / 0.7062 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.8944, allocations: 3.781 kB / 0.7062 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/0.8997, allocations: 1.708 MB / 0.7079 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.9004, allocations: 132.8 kB / 0.708 GB, free: 94.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/0.918, allocations: 7.256 MB / 0.7151 GB, free: 88.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.9204, allocations: 188.5 kB / 0.7152 GB, free: 88.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.9207, allocations: 28 kB / 0.7153 GB, free: 88.16 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005871/0.9213, allocations: 147.6 kB / 0.7154 GB, free: 88.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.9218, allocations: 121.5 kB / 0.7155 GB, free: 87.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.9358, allocations: 4.179 MB / 0.7196 GB, free: 84.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.9359, allocations: 12 kB / 0.7196 GB, free: 84.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9359, allocations: 4 kB / 0.7196 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/0.936, allocations: 3.422 kB / 0.7196 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.9557, allocations: 5.79 MB / 0.7253 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.9558, allocations: 3.953 kB / 0.7253 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.9569, allocations: 110.8 kB / 0.7254 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007053/0.9639, allocations: 1.681 MB / 0.727 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/0.9643, allocations: 16 kB / 0.727 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/0.9792, allocations: 6.316 MB / 0.7332 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9793, allocations: 3.719 kB / 0.7332 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.992, allocations: 4.923 MB / 0.738 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.9925, allocations: 211.5 kB / 0.7382 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.9928, allocations: 19.95 kB / 0.7382 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.994, allocations: 147.9 kB / 0.7384 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.9947, allocations: 204.4 kB / 0.7386 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.9948, allocations: 20 kB / 0.7386 GB, free: 66.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007583/0.9955, allocations: 0.6008 MB / 0.7392 GB, free: 65.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9955, allocations: 0 / 0.7392 GB, free: 65.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001972/0.9975, allocations: 0.6651 MB / 0.7398 GB, free: 65.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/0.9978, allocations: 150 kB / 0.74 GB, free: 65.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008719/1.007, allocations: 3.538 MB / 0.7434 GB, free: 61.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.007, allocations: 4.125 kB / 0.7434 GB, free: 61.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003912/1.01, allocations: 1.476 MB / 0.7449 GB, free: 60.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/1.011, allocations: 80.3 kB / 0.745 GB, free: 60 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/1.015, allocations: 1.641 MB / 0.7466 GB, free: 58.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/1.016, allocations: 1.134 MB / 0.7477 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007076/1.016, allocations: 163.5 kB / 0.7478 GB, free: 57.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.016, allocations: 47.42 kB / 0.7479 GB, free: 57 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/1.016, allocations: 0 / 0.7479 GB, free: 57 MB / 490.7 MB Notification: Performance of Templates: time 0.03795/1.054, allocations: 28.52 MB / 0.7757 GB, free: 28.75 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)