Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) [: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.002748/0.002748, allocations: 180 kB / 7.458 MB, free: 2.5 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.289/1.289, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.000949/0.000949, allocations: 96.08 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5044/0.5044, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.6764, allocations: 75.65 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/1.061, allocations: 69.51 MB / 0.542 GB, free: 20.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/1.199, allocations: 97.51 MB / 0.6372 GB, free: 6.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/1.199, allocations: 75.95 kB / 0.6373 GB, free: 6.355 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.1321/1.332, allocations: 29.47 MB / 0.666 GB, free: 8.613 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.332, allocations: 11.94 kB / 0.666 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00616/1.338, allocations: 0.5018 MB / 0.6665 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/1.34, allocations: 0.7313 MB / 0.6672 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006074/1.341, allocations: 333.3 kB / 0.6676 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/1.341, allocations: 47.91 kB / 0.6676 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003109/1.344, allocations: 0.8436 MB / 0.6684 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/1.347, allocations: 0.8407 MB / 0.6693 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/1.347, allocations: 0 / 0.6693 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/1.348, allocations: 7.984 kB / 0.6693 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/1.348, allocations: 16 kB / 0.6693 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/1.357, allocations: 3.547 MB / 0.6727 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.359, allocations: 0.7497 MB / 0.6735 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009128/1.36, allocations: 0.5664 MB / 0.674 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/1.36, allocations: 20.77 kB / 0.674 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.36, allocations: 55.27 kB / 0.6741 GB, free: 40 kB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.855e-06/1.36, allocations: 0 / 0.6741 GB, free: 40 kB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.2031/1.563, allocations: 4.841 MB / 0.6788 GB, free: 142.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.563, allocations: 85.61 kB / 0.6789 GB, free: 142 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.564, allocations: 0.7156 MB / 0.6796 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/1.565, allocations: 29.7 kB / 0.6796 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/1.565, allocations: 292 kB / 0.6799 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/1.566, allocations: 333.6 kB / 0.6802 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/1.566, allocations: 0 / 0.6802 GB, free: 141.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/1.566, allocations: 338.2 kB / 0.6806 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/1.567, allocations: 455.9 kB / 0.681 GB, free: 141.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/1.568, allocations: 0.5727 MB / 0.6815 GB, free: 141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/1.568, allocations: 493.5 kB / 0.682 GB, free: 141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.568, allocations: 0 / 0.682 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01617/1.585, allocations: 4.963 MB / 0.6869 GB, free: 140.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.585, allocations: 3.969 kB / 0.6869 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.585, allocations: 3.688 kB / 0.6869 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006852/1.592, allocations: 2.112 MB / 0.6889 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/1.592, allocations: 110.9 kB / 0.689 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/1.613, allocations: 7.798 MB / 0.6967 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/1.615, allocations: 189.9 kB / 0.6968 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.616, allocations: 36.75 kB / 0.6969 GB, free: 138.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002722/1.616, allocations: 122.6 kB / 0.697 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/1.616, allocations: 114.7 kB / 0.6971 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.632, allocations: 4.999 MB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/1.632, allocations: 10.91 kB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.632, allocations: 4 kB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.866e-05/1.633, allocations: 7.516 kB / 0.702 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/1.651, allocations: 6.368 MB / 0.7082 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.651, allocations: 2.812 kB / 0.7082 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/1.652, allocations: 88.27 kB / 0.7083 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007045/1.659, allocations: 2.106 MB / 0.7104 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/1.659, allocations: 7.969 kB / 0.7104 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.677, allocations: 7.045 MB / 0.7173 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.677, allocations: 0 / 0.7173 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01684/1.694, allocations: 5.845 MB / 0.723 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0188/1.713, allocations: 7.014 MB / 0.7298 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/1.713, allocations: 208.5 kB / 0.73 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.714, allocations: 4 kB / 0.73 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.715, allocations: 144.4 kB / 0.7302 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/1.715, allocations: 127.8 kB / 0.7303 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/1.715, allocations: 24 kB / 0.7303 GB, free: 129.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007363/1.716, allocations: 0.5584 MB / 0.7308 GB, free: 129.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001858/1.718, allocations: 413.4 kB / 0.7312 GB, free: 129 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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 {28 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002689/1.718, allocations: 123.6 kB / 0.7314 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006426/1.725, allocations: 2.178 MB / 0.7335 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.725, allocations: 0 / 0.7335 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.73, allocations: 1.69 MB / 0.7351 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/1.731, allocations: 71.5 kB / 0.7352 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/1.735, allocations: 1.653 MB / 0.7368 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/1.736, allocations: 1.141 MB / 0.7379 GB, free: 122.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/1.736, allocations: 0 / 0.7379 GB, free: 122.9 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)