Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.5 MB / 229.6 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008687, allocations: 104.4 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5708/0.5708, allocations: 78.13 MB / 409.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.18e-05, allocations: 3.938 kB / 484.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 69.37 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.492, allocations: 97.8 MB / 0.6368 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4922, allocations: 79.95 kB / 0.6369 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06723/0.5595, allocations: 25.41 MB / 0.6617 GB, free: 8.516 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5595, allocations: 0 / 0.6617 GB, free: 8.516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.96e-05/0.5596, allocations: 20 kB / 0.6617 GB, free: 8.496 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004553/0.5641, allocations: 1.774 MB / 0.6635 GB, free: 6.676 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5642, allocations: 16.02 kB / 0.6635 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.5674, allocations: 0.5564 MB / 0.664 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5687, allocations: 0.731 MB / 0.6647 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.569, allocations: 240.2 kB / 0.665 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.5692, allocations: 44 kB / 0.665 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/0.5707, allocations: 0.8202 MB / 0.6658 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5721, allocations: 0.7571 MB / 0.6666 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.5722, allocations: 0 / 0.6666 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5723, allocations: 0 / 0.6666 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.5723, allocations: 20 kB / 0.6666 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.5785, allocations: 3.433 MB / 0.6699 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5798, allocations: 1.195 MB / 0.6711 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.5806, allocations: 0.5583 MB / 0.6716 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.5808, allocations: 8.781 kB / 0.6716 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5808, allocations: 47.34 kB / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.634e-06/0.5808, allocations: 0 / 0.6717 GB, free: 13.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01201/0.5928, allocations: 4.007 MB / 0.6756 GB, free: 9.867 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5929, allocations: 60.19 kB / 0.6757 GB, free: 9.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.5938, allocations: 0.6873 MB / 0.6763 GB, free: 9.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.594, allocations: 29.7 kB / 0.6764 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.5944, allocations: 0.5009 MB / 0.6769 GB, free: 8.547 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.5947, allocations: 323 kB / 0.6772 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.5948, allocations: 0 / 0.6772 GB, free: 8.227 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5949, allocations: 345.9 kB / 0.6775 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.5956, allocations: 423.7 kB / 0.6779 GB, free: 7.469 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.5964, allocations: 0.5237 MB / 0.6784 GB, free: 6.914 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.5971, allocations: 463.6 kB / 0.6788 GB, free: 6.465 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5971, allocations: 3.953 kB / 0.6789 GB, free: 6.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01234/0.6095, allocations: 4.086 MB / 0.6828 GB, free: 2.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6095, allocations: 8 kB / 0.6829 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6096, allocations: 2.031 kB / 0.6829 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/0.6152, allocations: 1.681 MB / 0.6845 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/0.6161, allocations: 175.8 kB / 0.6847 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.6301, allocations: 7.067 MB / 0.6916 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.6316, allocations: 183.2 kB / 0.6917 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.6317, allocations: 36.55 kB / 0.6918 GB, free: 9.086 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.632, allocations: 121.6 kB / 0.6919 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6322, allocations: 122.5 kB / 0.692 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.6445, allocations: 4.128 MB / 0.696 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6446, allocations: 12 kB / 0.696 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6446, allocations: 3.953 kB / 0.6961 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.6446, allocations: 3.984 kB / 0.6961 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.6592, allocations: 5.656 MB / 0.7016 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6593, allocations: 4 kB / 0.7016 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.6601, allocations: 150.2 kB / 0.7017 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005324/0.6654, allocations: 1.664 MB / 0.7034 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6656, allocations: 4.562 kB / 0.7034 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.6781, allocations: 6.195 MB / 0.7094 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6781, allocations: 0 / 0.7094 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.6916, allocations: 4.904 MB / 0.7142 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.6921, allocations: 207.3 kB / 0.7144 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.6924, allocations: 4 kB / 0.7144 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6936, allocations: 144.4 kB / 0.7145 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.6943, allocations: 220.8 kB / 0.7147 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6944, allocations: 22.25 kB / 0.7148 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007835/0.6952, allocations: 0.5264 MB / 0.7153 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6952, allocations: 0 / 0.7153 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001322/0.6965, allocations: 387.4 kB / 0.7156 GB, free: 328 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.0003245/0.6969, allocations: 135.9 kB / 0.7158 GB, free: 180 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005158/0.7021, allocations: 1.951 MB / 0.7177 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7021, allocations: 3.938 kB / 0.7177 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.7062, allocations: 1.447 MB / 0.7191 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.7069, allocations: 57.08 kB / 0.7192 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.7101, allocations: 1.42 MB / 0.7205 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.711, allocations: 1.121 MB / 0.7216 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004286/0.7115, allocations: 69.48 kB / 0.7217 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.7117, allocations: 56.64 kB / 0.7218 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.7117, allocations: 0 / 0.7218 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of Templates: time 0.02862/0.7403, allocations: 18.19 MB / 0.7395 GB, free: 7.988 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)