Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",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.002941/0.002941, allocations: 172.8 kB / 7.453 MB, free: 2.312 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.356/1.356, 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.00105/0.00105, allocations: 99.8 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4659/0.4659, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1596/0.6256, allocations: 75.5 MB / 484.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.989, allocations: 69.35 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/1.138, allocations: 103.3 MB / 0.6416 GB, free: 1.539 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/1.139, allocations: 79.95 kB / 0.6417 GB, free: 1.461 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.451/1.59, allocations: 40.33 MB / 0.6811 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.59, allocations: 7.906 kB / 0.6811 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/1.592, allocations: 427.5 kB / 0.6815 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.594, allocations: 0.8722 MB / 0.6824 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/1.594, allocations: 203.7 kB / 0.6826 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/1.594, allocations: 48.53 kB / 0.6826 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/1.596, allocations: 0.8198 MB / 0.6834 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/1.597, allocations: 0.7076 MB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.597, allocations: 3.875 kB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/1.597, allocations: 0 / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.597, allocations: 18.5 kB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005782/1.603, allocations: 3.525 MB / 0.6876 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.604, allocations: 0.812 MB / 0.6884 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/1.605, allocations: 0.5235 MB / 0.6889 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/1.605, allocations: 27.31 kB / 0.6889 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.605, allocations: 40.75 kB / 0.6889 GB, free: 103.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 2.595e-06/1.605, allocations: 0 / 0.6889 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.009578/1.615, allocations: 3.389 MB / 0.6923 GB, free: 103.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/1.615, allocations: 64.28 kB / 0.6923 GB, free: 103.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.616, allocations: 0.9686 MB / 0.6933 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.616, allocations: 25.7 kB / 0.6933 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.617, allocations: 290.8 kB / 0.6936 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/1.617, allocations: 354.5 kB / 0.6939 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/1.617, allocations: 0 / 0.6939 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/1.617, allocations: 345.3 kB / 0.6942 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/1.618, allocations: 421.8 kB / 0.6946 GB, free: 102.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/1.619, allocations: 0.5044 MB / 0.6951 GB, free: 101.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/1.62, allocations: 481.4 kB / 0.6956 GB, free: 101.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.62, allocations: 0 / 0.6956 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002942/1.622, allocations: 1.548 MB / 0.6971 GB, free: 100.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.623, allocations: 5.875 kB / 0.6971 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.623, allocations: 3.969 kB / 0.6971 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/1.63, allocations: 1.914 MB / 0.699 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007492/1.631, allocations: 153.3 kB / 0.6991 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/1.636, allocations: 2.199 MB / 0.7013 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.637, allocations: 168.1 kB / 0.7014 GB, free: 99.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.638, allocations: 34.97 kB / 0.7015 GB, free: 99.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 29} Notification: Performance of prepare postOptimizeDAE: time 0.0002802/1.638, allocations: 114.8 kB / 0.7016 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.638, allocations: 138.3 kB / 0.7017 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.65, allocations: 3.51 MB / 0.7051 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.65, allocations: 11.34 kB / 0.7051 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.65, allocations: 0 / 0.7051 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/1.65, allocations: 9.781 kB / 0.7051 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.662, allocations: 4.952 MB / 0.71 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.662, allocations: 0 / 0.71 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/1.663, allocations: 150.8 kB / 0.7101 GB, free: 96.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004495/1.668, allocations: 1.355 MB / 0.7115 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.668, allocations: 11.66 kB / 0.7115 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/1.681, allocations: 5.787 MB / 0.7171 GB, free: 90.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.681, allocations: 0 / 0.7171 GB, free: 90.64 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/1.693, allocations: 4.262 MB / 0.7213 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01253/1.706, allocations: 5.336 MB / 0.7265 GB, free: 81.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/1.707, allocations: 251.1 kB / 0.7267 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/1.707, allocations: 6.797 kB / 0.7267 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.709, allocations: 115.9 kB / 0.7268 GB, free: 81.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/1.709, allocations: 108.3 kB / 0.7269 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.714e-05/1.709, allocations: 31.98 kB / 0.727 GB, free: 81.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00103/1.71, allocations: 0.7492 MB / 0.7277 GB, free: 80.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001935/1.712, allocations: 359.5 kB / 0.7281 GB, free: 80.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/1.713, allocations: 148.9 kB / 0.7282 GB, free: 80.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005284/1.718, allocations: 1.699 MB / 0.7299 GB, free: 78.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.718, allocations: 0 / 0.7299 GB, free: 78.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.722, allocations: 1.234 MB / 0.7311 GB, free: 77.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.723, allocations: 92.7 kB / 0.7311 GB, free: 77.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/1.728, allocations: 2.161 MB / 0.7333 GB, free: 75.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/1.729, allocations: 1.26 MB / 0.7345 GB, free: 73.79 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/1.729, allocations: 3.094 kB / 0.7345 GB, free: 73.79 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)