Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009156/0.0009156, allocations: 93.03 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06346/0.06346, allocations: 12.59 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.277/0.277, allocations: 78.06 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.309e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 69.33 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4963, allocations: 98.16 MB / 0.6783 GB, free: 9.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4966, allocations: 72.77 kB / 0.6783 GB, free: 9.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05225/0.5488, allocations: 22.36 MB / 0.7002 GB, free: 7.461 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5489, allocations: 0 / 0.7002 GB, free: 7.461 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.5489, allocations: 20 kB / 0.7002 GB, free: 7.441 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004036/0.553, allocations: 1.597 MB / 0.7017 GB, free: 5.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.553, allocations: 8.031 kB / 0.7018 GB, free: 5.902 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.556, allocations: 0.5388 MB / 0.7023 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5573, allocations: 0.6852 MB / 0.7029 GB, free: 4.812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.5576, allocations: 239.5 kB / 0.7032 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5577, allocations: 36 kB / 0.7032 GB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001183/0.5589, allocations: 0.7479 MB / 0.7039 GB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.56, allocations: 0.6907 MB / 0.7046 GB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5601, allocations: 4 kB / 0.7046 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.5601, allocations: 4 kB / 0.7046 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5602, allocations: 19.94 kB / 0.7046 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/0.5651, allocations: 3.103 MB / 0.7077 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5663, allocations: 1.117 MB / 0.7088 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.567, allocations: 0.5184 MB / 0.7093 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.5671, allocations: 20.75 kB / 0.7093 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5672, allocations: 46.48 kB / 0.7093 GB, free: 15.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=83): time 2.174e-06/0.5672, allocations: 0 / 0.7093 GB, free: 15.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.01136/0.5785, allocations: 3.91 MB / 0.7131 GB, free: 12.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5786, allocations: 63.94 kB / 0.7132 GB, free: 12.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.5793, allocations: 0.6016 MB / 0.7138 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/0.5794, allocations: 25.7 kB / 0.7138 GB, free: 11.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.5796, allocations: 443.6 kB / 0.7142 GB, free: 11.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.5799, allocations: 280.6 kB / 0.7145 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.58, allocations: 8 kB / 0.7145 GB, free: 11.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5801, allocations: 330.2 kB / 0.7148 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.5806, allocations: 400 kB / 0.7152 GB, free: 10.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.5813, allocations: 493 kB / 0.7157 GB, free: 10.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.5819, allocations: 433.1 kB / 0.7161 GB, free: 10.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5819, allocations: 0.9375 kB / 0.7161 GB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01153/0.5934, allocations: 4.049 MB / 0.7201 GB, free: 6.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5935, allocations: 8 kB / 0.7201 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5935, allocations: 0 / 0.7201 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/0.5987, allocations: 1.662 MB / 0.7217 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.5994, allocations: 123.2 kB / 0.7218 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.6132, allocations: 7.065 MB / 0.7287 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6145, allocations: 159.2 kB / 0.7289 GB, free: 264 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.6147, allocations: 34.06 kB / 0.7289 GB, free: 236 kB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 (62): * 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: 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.0003437/0.615, allocations: 128.3 kB / 0.729 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.6153, allocations: 102.7 kB / 0.7291 GB, free: 0 / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.6273, allocations: 4.004 MB / 0.733 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6273, allocations: 8 kB / 0.733 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6273, allocations: 0 / 0.733 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.6273, allocations: 3.984 kB / 0.733 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.6412, allocations: 5.43 MB / 0.7383 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6413, allocations: 0 / 0.7383 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.6419, allocations: 99.83 kB / 0.7384 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005301/0.6472, allocations: 1.655 MB / 0.74 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.6474, allocations: 15.98 kB / 0.7401 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.6607, allocations: 6.191 MB / 0.7461 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6608, allocations: 0 / 0.7461 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.6739, allocations: 4.709 MB / 0.7507 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.6743, allocations: 187.7 kB / 0.7509 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.6746, allocations: 3.984 kB / 0.7509 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6757, allocations: 111.9 kB / 0.751 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005868/0.6763, allocations: 204.4 kB / 0.7512 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.6764, allocations: 20 kB / 0.7512 GB, free: 9.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006793/0.6771, allocations: 471.1 kB / 0.7517 GB, free: 8.863 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6771, allocations: 0 / 0.7517 GB, free: 8.863 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6784, allocations: 363.5 kB / 0.752 GB, free: 8.508 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (50): * Single equations (assignments): 49 * 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.0002932/0.6788, allocations: 135 kB / 0.7521 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.6836, allocations: 1.85 MB / 0.7539 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6837, allocations: 0 / 0.7539 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/0.6876, allocations: 1.404 MB / 0.7553 GB, free: 5.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.6882, allocations: 55.3 kB / 0.7554 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.6908, allocations: 1.262 MB / 0.7566 GB, free: 3.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.6915, allocations: 1.056 MB / 0.7576 GB, free: 2.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.6917, allocations: 57.16 kB / 0.7577 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.6919, allocations: 55.36 kB / 0.7577 GB, free: 2.551 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6919, allocations: 0 / 0.7577 GB, free: 2.551 MB / 490.7 MB Notification: Performance of Templates: time 0.02757/0.7195, allocations: 17.26 MB / 0.7746 GB, free: 1.297 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)