Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.002659/0.002659, allocations: 180.2 kB / 7.453 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.192/1.192, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.0009557/0.0009557, allocations: 96.81 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4685/0.4685, allocations: 78.05 MB / 408.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-06/4.638e-06, allocations: 0 / 484.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 69.34 MB / 0.5407 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3445, allocations: 102.6 MB / 0.6409 GB, free: 2.066 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.3447, allocations: 75.95 kB / 0.6409 GB, free: 1.992 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2785/0.6232, allocations: 35.41 MB / 0.6755 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.472e-05/0.6233, allocations: 20.52 kB / 0.6755 GB, free: 106.3 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003645/0.627, allocations: 1.609 MB / 0.6771 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.627, allocations: 7.531 kB / 0.6771 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.6292, allocations: 402.6 kB / 0.6775 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6304, allocations: 0.8097 MB / 0.6783 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.6306, allocations: 200.6 kB / 0.6785 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6307, allocations: 45.58 kB / 0.6785 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/0.632, allocations: 0.7514 MB / 0.6793 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.6331, allocations: 0.6511 MB / 0.6799 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6331, allocations: 0 / 0.6799 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.6332, allocations: 0 / 0.6799 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6332, allocations: 17.81 kB / 0.6799 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.6375, allocations: 2.684 MB / 0.6825 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6389, allocations: 0.7507 MB / 0.6833 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.6396, allocations: 0.4998 MB / 0.6838 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.6397, allocations: 21.03 kB / 0.6838 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.6398, allocations: 45.16 kB / 0.6838 GB, free: 104.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.354e-06/0.6398, allocations: 0 / 0.6838 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01036/0.6501, allocations: 3.348 MB / 0.6871 GB, free: 104.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.6502, allocations: 67.31 kB / 0.6872 GB, free: 104 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.6514, allocations: 0.8571 MB / 0.688 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.6515, allocations: 25.7 kB / 0.688 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6516, allocations: 248.7 kB / 0.6883 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.6519, allocations: 328.5 kB / 0.6886 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.652, allocations: 0 / 0.6886 GB, free: 103.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.652, allocations: 338.9 kB / 0.6889 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.6527, allocations: 393.8 kB / 0.6893 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.6533, allocations: 406 kB / 0.6897 GB, free: 103.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.6542, allocations: 445.3 kB / 0.6901 GB, free: 103.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6542, allocations: 0 / 0.6901 GB, free: 103.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002653/0.6569, allocations: 1.44 MB / 0.6915 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6569, allocations: 3.969 kB / 0.6915 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6569, allocations: 3.25 kB / 0.6915 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007298/0.6642, allocations: 1.905 MB / 0.6934 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.6648, allocations: 117.5 kB / 0.6935 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.669, allocations: 2.194 MB / 0.6956 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.6705, allocations: 147.5 kB / 0.6957 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.6706, allocations: 35.28 kB / 0.6958 GB, free: 101 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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.0001859/0.6708, allocations: 104.7 kB / 0.6959 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.671, allocations: 116.7 kB / 0.696 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.682, allocations: 3.451 MB / 0.6994 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.682, allocations: 9.562 kB / 0.6994 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.682, allocations: 2.562 kB / 0.6994 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.682, allocations: 4.594 kB / 0.6994 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.6833, allocations: 1.112 MB / 0.7005 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6833, allocations: 4 kB / 0.7005 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.6841, allocations: 114.2 kB / 0.7006 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005038/0.6892, allocations: 1.366 MB / 0.7019 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/0.6893, allocations: 7.031 kB / 0.7019 GB, free: 99.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.7028, allocations: 5.793 MB / 0.7076 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7028, allocations: 0 / 0.7076 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01123/0.714, allocations: 4.126 MB / 0.7116 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.7144, allocations: 228.8 kB / 0.7118 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.7146, allocations: 9.766 kB / 0.7118 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.716, allocations: 107.9 kB / 0.7119 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.7163, allocations: 106.5 kB / 0.712 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.7164, allocations: 24 kB / 0.7121 GB, free: 93.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008085/0.7172, allocations: 0.6783 MB / 0.7127 GB, free: 93.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008517/0.718, allocations: 322.9 kB / 0.713 GB, free: 92.9 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 (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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002534/0.7183, allocations: 160.5 kB / 0.7132 GB, free: 92.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.7234, allocations: 1.614 MB / 0.7148 GB, free: 91.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7234, allocations: 0 / 0.7148 GB, free: 91.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003728/0.7271, allocations: 1.198 MB / 0.7159 GB, free: 90.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.7277, allocations: 86.62 kB / 0.716 GB, free: 90.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.7315, allocations: 2.01 MB / 0.718 GB, free: 88.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.7322, allocations: 1.149 MB / 0.7191 GB, free: 87.35 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7322, allocations: 4 kB / 0.7191 GB, free: 87.35 MB / 490.7 MB Notification: Performance of Templates: time 0.02439/0.7566, allocations: 17.94 MB / 0.7366 GB, free: 71.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)