Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001712/0.001712, allocations: 180.4 kB / 7.459 MB, free: 2.512 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.029/1.029, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008463/0.0008463, allocations: 90.47 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3542/0.3542, allocations: 78.11 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.511e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2373, allocations: 69.35 MB / 0.5407 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09528/0.3326, allocations: 96.52 MB / 0.635 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.3329, allocations: 79.94 kB / 0.6351 GB, free: 8.363 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05499/0.3879, allocations: 22.84 MB / 0.6574 GB, free: 1.348 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.388, allocations: 16 kB / 0.6574 GB, free: 1.332 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003947/0.3919, allocations: 1.656 MB / 0.659 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.392, allocations: 16.03 kB / 0.659 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.3952, allocations: 0.5566 MB / 0.6596 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.3964, allocations: 0.6875 MB / 0.6603 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3966, allocations: 240.1 kB / 0.6605 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3968, allocations: 44 kB / 0.6605 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/0.398, allocations: 0.746 MB / 0.6613 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3992, allocations: 0.6868 MB / 0.6619 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3992, allocations: 0 / 0.6619 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.3993, allocations: 0 / 0.6619 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3993, allocations: 23.84 kB / 0.662 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.4043, allocations: 3.143 MB / 0.665 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.4052, allocations: 0.511 MB / 0.6655 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.4059, allocations: 0.5129 MB / 0.666 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.406, allocations: 12.77 kB / 0.666 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.406, allocations: 43.25 kB / 0.6661 GB, free: 8.156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.856e-06/0.406, allocations: 0 / 0.6661 GB, free: 8.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01198/0.418, allocations: 4.182 MB / 0.6702 GB, free: 3.961 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.418, allocations: 60.19 kB / 0.6702 GB, free: 3.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.4187, allocations: 0.6103 MB / 0.6708 GB, free: 3.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.4188, allocations: 25.7 kB / 0.6708 GB, free: 3.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.419, allocations: 284.3 kB / 0.6711 GB, free: 2.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.4192, allocations: 279.8 kB / 0.6714 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.4193, allocations: 0 / 0.6714 GB, free: 2.688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.4194, allocations: 341.9 kB / 0.6717 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.42, allocations: 397.6 kB / 0.6721 GB, free: 1.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.4207, allocations: 0.4917 MB / 0.6726 GB, free: 1.438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.4213, allocations: 441.2 kB / 0.673 GB, free: 1.008 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4214, allocations: 0 / 0.673 GB, free: 1.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.145/0.5664, allocations: 4.308 MB / 0.6772 GB, free: 143.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5664, allocations: 3.062 kB / 0.6772 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5665, allocations: 3.812 kB / 0.6772 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/0.5717, allocations: 1.736 MB / 0.6789 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.5723, allocations: 121.8 kB / 0.679 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.5848, allocations: 6.384 MB / 0.6852 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5861, allocations: 166 kB / 0.6854 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/0.5861, allocations: 30.34 kB / 0.6854 GB, free: 142.4 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.0002244/0.5864, allocations: 121.7 kB / 0.6855 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5865, allocations: 101.4 kB / 0.6856 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.5976, allocations: 4.252 MB / 0.6898 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5977, allocations: 11.25 kB / 0.6898 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5977, allocations: 0 / 0.6898 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.5977, allocations: 3.141 kB / 0.6898 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.6104, allocations: 5.532 MB / 0.6952 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6105, allocations: 0 / 0.6952 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.611, allocations: 104.5 kB / 0.6953 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.6162, allocations: 1.732 MB / 0.697 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/0.6163, allocations: 6.203 kB / 0.697 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.6279, allocations: 5.635 MB / 0.7025 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6279, allocations: 4 kB / 0.7025 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01257/0.6405, allocations: 4.985 MB / 0.7074 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.6409, allocations: 185.1 kB / 0.7076 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.641, allocations: 4 kB / 0.7076 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/0.642, allocations: 128.2 kB / 0.7077 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.6423, allocations: 121.4 kB / 0.7078 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.6423, allocations: 17.66 kB / 0.7078 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004874/0.6428, allocations: 481.5 kB / 0.7083 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.6438, allocations: 358.9 kB / 0.7086 GB, free: 138.7 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.0002357/0.644, allocations: 129.5 kB / 0.7087 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004392/0.6484, allocations: 1.861 MB / 0.7106 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6485, allocations: 0 / 0.7106 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.6521, allocations: 1.389 MB / 0.7119 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.6526, allocations: 58.61 kB / 0.712 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.6553, allocations: 1.304 MB / 0.7132 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.6558, allocations: 1.086 MB / 0.7143 GB, free: 137 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6558, allocations: 0 / 0.7143 GB, free: 137 MB / 490.7 MB Notification: Performance of Templates: time 0.02178/0.6776, allocations: 17.44 MB / 0.7313 GB, free: 135 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)