Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008915/0.0008916, allocations: 175 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 82.42 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3008/0.3008, allocations: 42.29 MB / 361.2 MB, free: 49.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.000425, allocations: 12 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4417, allocations: 92.51 MB / 0.5659 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.4421, allocations: 80.58 kB / 0.566 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0615/0.5036, allocations: 23 MB / 0.5884 GB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5037, allocations: 0 / 0.5884 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.826e-05/0.5037, allocations: 19.94 kB / 0.5885 GB, free: 8.012 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004832/0.5086, allocations: 1.79 MB / 0.5902 GB, free: 6.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5086, allocations: 16.03 kB / 0.5902 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.512, allocations: 0.5409 MB / 0.5908 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.5136, allocations: 0.7266 MB / 0.5915 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.5139, allocations: 260.2 kB / 0.5917 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5141, allocations: 67.98 kB / 0.5918 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.5163, allocations: 1.042 MB / 0.5928 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5163, allocations: 0 / 0.5928 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.5164, allocations: 28 kB / 0.5928 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5164, allocations: 16 kB / 0.5928 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.5185, allocations: 1.07 MB / 0.5939 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.5242, allocations: 3.264 MB / 0.5971 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.5264, allocations: 1.396 MB / 0.5984 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.5278, allocations: 0.7813 MB / 0.5992 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.5279, allocations: 20.97 kB / 0.5992 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.528, allocations: 43.56 kB / 0.5993 GB, free: 12.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=84): time 3.416e-06/0.528, allocations: 0 / 0.5993 GB, free: 12.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=84): time 0.02666/0.5546, allocations: 8.152 MB / 0.6072 GB, free: 4.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.5547, allocations: 60.41 kB / 0.6073 GB, free: 4.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5562, allocations: 0.7715 MB / 0.608 GB, free: 3.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.5565, allocations: 37.7 kB / 0.6081 GB, free: 3.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.5569, allocations: 448.3 kB / 0.6085 GB, free: 3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.5574, allocations: 299.6 kB / 0.6088 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.5575, allocations: 16 kB / 0.6088 GB, free: 2.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5576, allocations: 334 kB / 0.6091 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.5591, allocations: 0.6422 MB / 0.6097 GB, free: 1.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.5607, allocations: 0.7531 MB / 0.6105 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/0.5746, allocations: 4.338 MB / 0.6147 GB, free: 12.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.5747, allocations: 0 / 0.6147 GB, free: 12.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0146/0.5893, allocations: 4.813 MB / 0.6194 GB, free: 7.727 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.5894, allocations: 8 kB / 0.6194 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5894, allocations: 7.938 kB / 0.6194 GB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007217/0.5966, allocations: 2.198 MB / 0.6216 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.5974, allocations: 119.9 kB / 0.6217 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/0.6214, allocations: 10.98 MB / 0.6324 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.623, allocations: 179.2 kB / 0.6326 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.6232, allocations: 27.98 kB / 0.6326 GB, free: 9.945 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.000667/0.6239, allocations: 222.9 kB / 0.6328 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.6242, allocations: 98.78 kB / 0.6329 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.638, allocations: 4.772 MB / 0.6376 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6381, allocations: 8 kB / 0.6376 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6381, allocations: 0 / 0.6376 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.6381, allocations: 7.984 kB / 0.6376 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.6551, allocations: 6.282 MB / 0.6437 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.6551, allocations: 0 / 0.6437 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.6558, allocations: 99.89 kB / 0.6438 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/0.6622, allocations: 2.063 MB / 0.6458 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/0.6625, allocations: 16 kB / 0.6458 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/0.6809, allocations: 8.202 MB / 0.6539 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.681, allocations: 0 / 0.6539 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.6973, allocations: 5.708 MB / 0.6594 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.6979, allocations: 195.6 kB / 0.6596 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.6983, allocations: 16 kB / 0.6596 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.6994, allocations: 131.9 kB / 0.6598 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/0.7001, allocations: 192.6 kB / 0.6599 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.7002, allocations: 27.94 kB / 0.66 GB, free: 13.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009014/0.7011, allocations: 0.5382 MB / 0.6605 GB, free: 13.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7012, allocations: 0 / 0.6605 GB, free: 13.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001614/0.7028, allocations: 399.5 kB / 0.6609 GB, free: 12.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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.0003489/0.7031, allocations: 155 kB / 0.661 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006672/0.7098, allocations: 2.556 MB / 0.6635 GB, free: 9.887 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7099, allocations: 0 / 0.6635 GB, free: 9.887 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.7145, allocations: 1.712 MB / 0.6652 GB, free: 8.164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7158, allocations: 79.34 kB / 0.6653 GB, free: 8.086 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.7197, allocations: 2.185 MB / 0.6674 GB, free: 5.887 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.7204, allocations: 1.048 MB / 0.6684 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.7207, allocations: 57.23 kB / 0.6685 GB, free: 4.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.7209, allocations: 47.42 kB / 0.6685 GB, free: 4.703 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.721, allocations: 0 / 0.6685 GB, free: 4.703 MB / 490.7 MB Notification: Performance of Templates: time 0.2464/0.9674, allocations: 19.32 MB / 0.6874 GB, free: 129 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe 2>&1)