Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003118/0.003118, allocations: 178.7 kB / 7.462 MB, free: 2.492 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.145/1.145, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0009313/0.0009313, allocations: 93.72 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.442/0.442, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 4 kB / 485.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 69.49 MB / 0.5419 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4578, allocations: 97.23 MB / 0.6368 GB, free: 6.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4582, allocations: 75.95 kB / 0.6369 GB, free: 6.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06543/0.5237, allocations: 23.53 MB / 0.6599 GB, free: 15.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.424e-05/0.5238, allocations: 16 kB / 0.6599 GB, free: 15.04 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004505/0.5283, allocations: 1.656 MB / 0.6615 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5283, allocations: 15.97 kB / 0.6615 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.532, allocations: 0.5566 MB / 0.662 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.5335, allocations: 0.6913 MB / 0.6627 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.5338, allocations: 240.2 kB / 0.6629 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.534, allocations: 36 kB / 0.663 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001418/0.5354, allocations: 0.746 MB / 0.6637 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5367, allocations: 0.6907 MB / 0.6644 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5367, allocations: 0 / 0.6644 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.5368, allocations: 4 kB / 0.6644 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5369, allocations: 19.91 kB / 0.6644 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/0.5432, allocations: 3.178 MB / 0.6675 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.5441, allocations: 0.5071 MB / 0.668 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/0.5449, allocations: 0.5081 MB / 0.6685 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.545, allocations: 16.77 kB / 0.6685 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.545, allocations: 43.25 kB / 0.6686 GB, free: 5.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.524e-06/0.545, allocations: 4 kB / 0.6686 GB, free: 5.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01364/0.5587, allocations: 4.174 MB / 0.6726 GB, free: 1.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5588, allocations: 60.19 kB / 0.6727 GB, free: 1.578 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5598, allocations: 0.5986 MB / 0.6733 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.56, allocations: 29.7 kB / 0.6733 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5602, allocations: 292.2 kB / 0.6736 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.5606, allocations: 279.8 kB / 0.6739 GB, free: 384 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.5607, allocations: 4 kB / 0.6739 GB, free: 380 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5608, allocations: 330 kB / 0.6742 GB, free: 44 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2193/0.7801, allocations: 402.8 kB / 0.6746 GB, free: 143.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.7809, allocations: 498.8 kB / 0.675 GB, free: 143.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.7816, allocations: 438 kB / 0.6755 GB, free: 143.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7816, allocations: 0 / 0.6755 GB, free: 143.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01286/0.7944, allocations: 4.302 MB / 0.6797 GB, free: 143.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7945, allocations: 12.62 kB / 0.6797 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.7945, allocations: 2.297 kB / 0.6797 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/0.8002, allocations: 1.735 MB / 0.6814 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.8009, allocations: 120.3 kB / 0.6815 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.8145, allocations: 6.377 MB / 0.6877 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8159, allocations: 173.7 kB / 0.6879 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8161, allocations: 30.55 kB / 0.6879 GB, free: 141.9 MB / 490.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.0002929/0.8164, allocations: 121.8 kB / 0.688 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.8167, allocations: 107.2 kB / 0.6881 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.8288, allocations: 4.251 MB / 0.6923 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.8288, allocations: 9.125 kB / 0.6923 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8289, allocations: 0 / 0.6923 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/0.8289, allocations: 7.219 kB / 0.6923 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.8443, allocations: 5.545 MB / 0.6977 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.8444, allocations: 4.141 kB / 0.6977 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.8451, allocations: 101.1 kB / 0.6978 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005813/0.8509, allocations: 1.729 MB / 0.6995 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.8511, allocations: 6.266 kB / 0.6995 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.8645, allocations: 5.651 MB / 0.705 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.8645, allocations: 0 / 0.705 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0132/0.8777, allocations: 4.983 MB / 0.7099 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.8782, allocations: 192.8 kB / 0.7101 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.8785, allocations: 0 / 0.7101 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.8796, allocations: 133.6 kB / 0.7102 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.8799, allocations: 113.4 kB / 0.7103 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/0.88, allocations: 22.5 kB / 0.7103 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006319/0.8807, allocations: 474.5 kB / 0.7108 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001247/0.8819, allocations: 363.4 kB / 0.7111 GB, free: 138.1 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.0002969/0.8822, allocations: 126.7 kB / 0.7112 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.8873, allocations: 1.852 MB / 0.7131 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8874, allocations: 0.5625 kB / 0.7131 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/0.8917, allocations: 1.4 MB / 0.7144 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.8925, allocations: 47.62 kB / 0.7145 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.8964, allocations: 1.321 MB / 0.7158 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/0.8971, allocations: 1.084 MB / 0.7168 GB, free: 135.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/0.8972, allocations: 0 / 0.7168 GB, free: 135.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03401/0.9312, allocations: 17.42 MB / 0.7338 GB, free: 132.3 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)