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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") [: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.003241/0.003241, allocations: 179.2 kB / 7.455 MB, free: 2.508 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.302/1.302, allocations: 221.4 MB / 229.3 MB, free: 3.25 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.0009855/0.0009856, allocations: 90.81 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4019/0.4019, allocations: 78.06 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.174e-05, allocations: 0 / 484.3 MB, free: 4.406 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 69.35 MB / 0.5407 GB, free: 21.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3495, allocations: 103.3 MB / 0.6416 GB, free: 1.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3497, allocations: 79.95 kB / 0.6416 GB, free: 1.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2852/0.635, allocations: 38.58 MB / 0.6793 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.263e-05/0.635, allocations: 19.47 kB / 0.6793 GB, free: 106.6 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.004156/0.6392, allocations: 1.732 MB / 0.681 GB, free: 105.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.6393, allocations: 7.844 kB / 0.681 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.6417, allocations: 424.2 kB / 0.6814 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6431, allocations: 0.8746 MB / 0.6823 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.6433, allocations: 202.4 kB / 0.6825 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.6434, allocations: 50.95 kB / 0.6825 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001444/0.6449, allocations: 0.8143 MB / 0.6833 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6461, allocations: 0.7089 MB / 0.684 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.6461, allocations: 0 / 0.684 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.6462, allocations: 0 / 0.684 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.6462, allocations: 22.55 kB / 0.684 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/0.6517, allocations: 3.515 MB / 0.6875 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.6531, allocations: 0.8212 MB / 0.6883 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.6538, allocations: 0.5179 MB / 0.6888 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.6539, allocations: 24.8 kB / 0.6888 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.6539, allocations: 44.44 kB / 0.6888 GB, free: 104.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 2.354e-06/0.654, allocations: 3.938 kB / 0.6888 GB, free: 104.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.01061/0.6646, allocations: 3.388 MB / 0.6922 GB, free: 103.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.6646, allocations: 64.72 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.6658, allocations: 0.961 MB / 0.6932 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.6659, allocations: 25.7 kB / 0.6932 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.666, allocations: 295.8 kB / 0.6935 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.6664, allocations: 355.3 kB / 0.6938 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.6665, allocations: 0 / 0.6938 GB, free: 102.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.6665, allocations: 349.2 kB / 0.6941 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.6672, allocations: 423.5 kB / 0.6945 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.6679, allocations: 0.4955 MB / 0.695 GB, free: 102.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.6689, allocations: 483.9 kB / 0.6955 GB, free: 101.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6689, allocations: 0 / 0.6955 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002908/0.6718, allocations: 1.552 MB / 0.697 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6718, allocations: 6.125 kB / 0.697 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6718, allocations: 3.938 kB / 0.697 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008157/0.68, allocations: 1.918 MB / 0.6989 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.6808, allocations: 150 kB / 0.699 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.6855, allocations: 2.194 MB / 0.7012 GB, free: 99.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.6873, allocations: 175.6 kB / 0.7013 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.6874, allocations: 31.41 kB / 0.7014 GB, free: 99.61 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.0002223/0.6877, allocations: 115.2 kB / 0.7015 GB, free: 99.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.688, allocations: 138.1 kB / 0.7016 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.699, allocations: 3.5 MB / 0.705 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6991, allocations: 11.94 kB / 0.705 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6991, allocations: 0 / 0.705 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6991, allocations: 7.078 kB / 0.705 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.7116, allocations: 4.952 MB / 0.7099 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7116, allocations: 0 / 0.7099 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/0.7126, allocations: 143.9 kB / 0.71 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00478/0.7174, allocations: 1.36 MB / 0.7113 GB, free: 96.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.7175, allocations: 7.906 kB / 0.7114 GB, free: 96.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.7308, allocations: 5.798 MB / 0.717 GB, free: 90.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7309, allocations: 4 kB / 0.717 GB, free: 90.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01178/0.7427, allocations: 4.247 MB / 0.7212 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.7432, allocations: 262.3 kB / 0.7214 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.7436, allocations: 7.203 kB / 0.7214 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.7452, allocations: 122.7 kB / 0.7215 GB, free: 86.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.7455, allocations: 105 kB / 0.7216 GB, free: 86.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.7456, allocations: 28.36 kB / 0.7217 GB, free: 86.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009855/0.7466, allocations: 0.7474 MB / 0.7224 GB, free: 85.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001048/0.7476, allocations: 350 kB / 0.7227 GB, free: 85.64 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.0002816/0.7479, allocations: 156.2 kB / 0.7229 GB, free: 85.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005706/0.7536, allocations: 1.69 MB / 0.7245 GB, free: 83.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.7537, allocations: 0 / 0.7245 GB, free: 83.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004401/0.7581, allocations: 1.228 MB / 0.7257 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.759, allocations: 92.72 kB / 0.7258 GB, free: 82.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.764, allocations: 2.152 MB / 0.7279 GB, free: 80.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.7648, allocations: 1.217 MB / 0.7291 GB, free: 79.25 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7648, allocations: 0 / 0.7291 GB, free: 79.25 MB / 490.7 MB Notification: Performance of Templates: time 0.02663/0.7915, allocations: 18.97 MB / 0.7476 GB, free: 60.47 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)