Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_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 3.2.3+maint.om/package.mo): time 0.004986/0.004986, allocations: 181.4 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 88.36 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07668/0.07668, allocations: 12.59 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2775/0.2775, allocations: 78.05 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.292e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 69.31 MB / 0.5818 GB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3133/0.4324, allocations: 104.1 MB / 0.6835 GB, free: 4.082 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4326, allocations: 76.83 kB / 0.6836 GB, free: 4.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09392/0.5266, allocations: 34.58 MB / 0.7173 GB, free: 7.762 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.566e-05/0.5267, allocations: 16 kB / 0.7174 GB, free: 7.746 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004658/0.5313, allocations: 1.604 MB / 0.7189 GB, free: 6.188 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5314, allocations: 11.97 kB / 0.7189 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.5339, allocations: 398 kB / 0.7193 GB, free: 5.816 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.5358, allocations: 0.8191 MB / 0.7201 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.5361, allocations: 197.8 kB / 0.7203 GB, free: 4.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.5364, allocations: 46.72 kB / 0.7203 GB, free: 4.875 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00158/0.538, allocations: 0.7658 MB / 0.7211 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.5393, allocations: 0.639 MB / 0.7217 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5393, allocations: 4 kB / 0.7217 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.5394, allocations: 0 / 0.7217 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.5394, allocations: 12 kB / 0.7217 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.5448, allocations: 2.676 MB / 0.7243 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.5463, allocations: 0.7628 MB / 0.7251 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007563/0.5471, allocations: 0.4972 MB / 0.7256 GB, free: 1.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5472, allocations: 12.77 kB / 0.7256 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5473, allocations: 47.03 kB / 0.7256 GB, free: 1.012 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 2.836e-06/0.5473, allocations: 0 / 0.7256 GB, free: 1.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=94): time 0.01064/0.5579, allocations: 3.351 MB / 0.7289 GB, free: 14.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.558, allocations: 60.19 kB / 0.729 GB, free: 14.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.5598, allocations: 0.8599 MB / 0.7298 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.56, allocations: 25.7 kB / 0.7298 GB, free: 13.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.5602, allocations: 250.9 kB / 0.7301 GB, free: 13.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005772/0.5608, allocations: 329.4 kB / 0.7304 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.5609, allocations: 0 / 0.7304 GB, free: 12.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.561, allocations: 345 kB / 0.7307 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.5618, allocations: 394.2 kB / 0.7311 GB, free: 12.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/0.5625, allocations: 405.5 kB / 0.7315 GB, free: 12.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.5634, allocations: 444.7 kB / 0.7319 GB, free: 11.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5634, allocations: 0 / 0.7319 GB, free: 11.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003078/0.5665, allocations: 1.433 MB / 0.7333 GB, free: 10.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5665, allocations: 11.91 kB / 0.7333 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5666, allocations: 0 / 0.7333 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/0.5741, allocations: 1.907 MB / 0.7352 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.5748, allocations: 111.8 kB / 0.7353 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.5795, allocations: 2.192 MB / 0.7374 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.5813, allocations: 155.1 kB / 0.7376 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.5815, allocations: 31.55 kB / 0.7376 GB, free: 7.41 MB / 474.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.0002732/0.5818, allocations: 108.9 kB / 0.7377 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.5823, allocations: 114.6 kB / 0.7378 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/0.5931, allocations: 3.45 MB / 0.7412 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.5932, allocations: 12 kB / 0.7412 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5932, allocations: 3.906 kB / 0.7412 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.5932, allocations: 7.969 kB / 0.7412 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.5952, allocations: 1.112 MB / 0.7423 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5953, allocations: 0 / 0.7423 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.5961, allocations: 115.8 kB / 0.7424 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004905/0.601, allocations: 1.361 MB / 0.7437 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.6012, allocations: 8 kB / 0.7437 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/0.6157, allocations: 5.799 MB / 0.7494 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6158, allocations: 4 kB / 0.7494 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01199/0.6278, allocations: 4.127 MB / 0.7534 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.6284, allocations: 231.4 kB / 0.7536 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/0.6288, allocations: 8 kB / 0.7537 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.6305, allocations: 107.9 kB / 0.7538 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/0.6308, allocations: 104.8 kB / 0.7539 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.631, allocations: 24 kB / 0.7539 GB, free: 6.637 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001267/0.6322, allocations: 0.6698 MB / 0.7545 GB, free: 5.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001395/0.6336, allocations: 319.5 kB / 0.7548 GB, free: 5.645 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.0004443/0.6341, allocations: 161.8 kB / 0.755 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005489/0.6396, allocations: 1.616 MB / 0.7566 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6396, allocations: 0 / 0.7566 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.6436, allocations: 1.204 MB / 0.7577 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.6446, allocations: 80.3 kB / 0.7578 GB, free: 2.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.65, allocations: 1.996 MB / 0.7598 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/0.6517, allocations: 1.154 MB / 0.7609 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/0.6518, allocations: 0 / 0.7609 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.04745/0.6992, allocations: 17.95 MB / 0.7784 GB, free: 13.41 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)