Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.00295/0.00295, allocations: 178 kB / 7.453 MB, free: 2.527 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.355/1.355, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.001009/0.001009, allocations: 108.9 kB / 280.1 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4843/0.4843, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1662/0.6505, allocations: 75.65 MB / 485.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.9886, allocations: 69.5 MB / 0.5419 GB, free: 20.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/1.128, allocations: 103.9 MB / 0.6434 GB, free: 36 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.129, allocations: 79.97 kB / 0.6435 GB, free: 15.96 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.3604/1.489, allocations: 36.58 MB / 0.6792 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.489, allocations: 7.875 kB / 0.6792 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.491, allocations: 426.9 kB / 0.6796 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.493, allocations: 0.8599 MB / 0.6805 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/1.493, allocations: 209.8 kB / 0.6807 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.493, allocations: 51.28 kB / 0.6807 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/1.494, allocations: 0.824 MB / 0.6815 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.496, allocations: 0.7096 MB / 0.6822 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.496, allocations: 0 / 0.6822 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/1.496, allocations: 0 / 0.6822 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/1.496, allocations: 18.03 kB / 0.6822 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/1.501, allocations: 3.503 MB / 0.6857 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/1.503, allocations: 0.8238 MB / 0.6865 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/1.503, allocations: 0.5223 MB / 0.687 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.503, allocations: 21.34 kB / 0.687 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.503, allocations: 48.41 kB / 0.687 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 3.306e-06/1.503, allocations: 0 / 0.687 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.009849/1.513, allocations: 3.395 MB / 0.6904 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.513, allocations: 59.75 kB / 0.6904 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.515, allocations: 0.9649 MB / 0.6914 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.515, allocations: 25.7 kB / 0.6914 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/1.516, allocations: 293.1 kB / 0.6917 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/1.516, allocations: 362.5 kB / 0.692 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/1.516, allocations: 0 / 0.692 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/1.516, allocations: 340.3 kB / 0.6923 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/1.517, allocations: 420.7 kB / 0.6927 GB, free: 101 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/1.518, allocations: 0.505 MB / 0.6932 GB, free: 100.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/1.519, allocations: 485.8 kB / 0.6937 GB, free: 100.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/1.519, allocations: 0 / 0.6937 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002877/1.522, allocations: 1.549 MB / 0.6952 GB, free: 99.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.522, allocations: 6.594 kB / 0.6952 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.522, allocations: 3.328 kB / 0.6952 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006955/1.529, allocations: 1.912 MB / 0.6971 GB, free: 99.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/1.529, allocations: 155.4 kB / 0.6972 GB, free: 99.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/1.534, allocations: 2.193 MB / 0.6994 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.536, allocations: 171.2 kB / 0.6995 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.536, allocations: 34.14 kB / 0.6996 GB, free: 98.23 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.0002117/1.536, allocations: 117.7 kB / 0.6997 GB, free: 98.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.537, allocations: 143.3 kB / 0.6998 GB, free: 98.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.547, allocations: 3.498 MB / 0.7032 GB, free: 97.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/1.548, allocations: 15.06 kB / 0.7032 GB, free: 97.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.548, allocations: 0 / 0.7032 GB, free: 97.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/1.548, allocations: 3.938 kB / 0.7032 GB, free: 97.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.561, allocations: 4.967 MB / 0.7081 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.561, allocations: 0 / 0.7081 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.562, allocations: 146.9 kB / 0.7082 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004957/1.567, allocations: 1.354 MB / 0.7096 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/1.567, allocations: 11.33 kB / 0.7096 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.58, allocations: 5.797 MB / 0.7152 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.58, allocations: 0 / 0.7152 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0109/1.591, allocations: 4.25 MB / 0.7194 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01157/1.603, allocations: 5.338 MB / 0.7246 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/1.603, allocations: 250.7 kB / 0.7248 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.604, allocations: 7.75 kB / 0.7248 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.605, allocations: 122.4 kB / 0.725 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/1.605, allocations: 105.2 kB / 0.7251 GB, free: 82.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/1.606, allocations: 25.83 kB / 0.7251 GB, free: 82.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009459/1.607, allocations: 0.7471 MB / 0.7258 GB, free: 81.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001662/1.608, allocations: 365.9 kB / 0.7262 GB, free: 81.12 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.0002903/1.608, allocations: 143.4 kB / 0.7263 GB, free: 80.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005058/1.614, allocations: 1.694 MB / 0.728 GB, free: 79.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.614, allocations: 0 / 0.728 GB, free: 79.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003714/1.617, allocations: 1.236 MB / 0.7292 GB, free: 78.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/1.618, allocations: 89.23 kB / 0.7292 GB, free: 78.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/1.623, allocations: 2.168 MB / 0.7314 GB, free: 76.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/1.624, allocations: 1.264 MB / 0.7326 GB, free: 75.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.984e-06/1.624, allocations: 0 / 0.7326 GB, free: 75.04 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)