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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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 3.2.3+maint.om/package.mo): time 0.003822/0.003823, allocations: 180.2 kB / 7.452 MB, free: 2.516 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.269/1.269, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.001031/0.001031, allocations: 88.36 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08296/0.08296, allocations: 12.19 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2774/0.2774, allocations: 78.04 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.266/0.5434, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.6756, allocations: 69.24 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/1.029, allocations: 104 MB / 0.6829 GB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/1.029, allocations: 73.59 kB / 0.683 GB, free: 5.223 MB / 426.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.0987/1.128, allocations: 36.2 MB / 0.7183 GB, free: 7.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.128, allocations: 11.94 kB / 0.7183 GB, free: 7.371 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/1.131, allocations: 399.8 kB / 0.7187 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.133, allocations: 0.8189 MB / 0.7195 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/1.133, allocations: 203.1 kB / 0.7197 GB, free: 6.105 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/1.134, allocations: 43.66 kB / 0.7197 GB, free: 6.066 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/1.135, allocations: 0.7592 MB / 0.7205 GB, free: 5.602 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/1.137, allocations: 0.6438 MB / 0.7211 GB, free: 5.164 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.137, allocations: 8 kB / 0.7211 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/1.137, allocations: 0 / 0.7211 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/1.137, allocations: 12 kB / 0.7211 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005565/1.142, allocations: 2.675 MB / 0.7237 GB, free: 3.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/1.144, allocations: 0.7579 MB / 0.7245 GB, free: 2.527 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/1.145, allocations: 0.4931 MB / 0.725 GB, free: 2.266 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.145, allocations: 16.67 kB / 0.725 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/1.145, allocations: 46.47 kB / 0.725 GB, free: 2.203 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/1.145, allocations: 0 / 0.725 GB, free: 2.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=94): time 0.01037/1.155, allocations: 3.353 MB / 0.7283 GB, free: 15.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.155, allocations: 60.19 kB / 0.7284 GB, free: 15.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.157, allocations: 0.8606 MB / 0.7292 GB, free: 14.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/1.157, allocations: 25.7 kB / 0.7292 GB, free: 14.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.157, allocations: 254 kB / 0.7295 GB, free: 14.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/1.158, allocations: 325.4 kB / 0.7298 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/1.158, allocations: 0 / 0.7298 GB, free: 14.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/1.158, allocations: 339.7 kB / 0.7301 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/1.158, allocations: 396.7 kB / 0.7305 GB, free: 13.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/1.159, allocations: 401.8 kB / 0.7309 GB, free: 13.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/1.16, allocations: 446.6 kB / 0.7313 GB, free: 13.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.16, allocations: 4 kB / 0.7313 GB, free: 13.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002616/1.163, allocations: 1.428 MB / 0.7327 GB, free: 12.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.163, allocations: 11.98 kB / 0.7327 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.163, allocations: 0 / 0.7327 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/1.17, allocations: 1.915 MB / 0.7346 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/1.171, allocations: 115.5 kB / 0.7347 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/1.176, allocations: 2.186 MB / 0.7368 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.178, allocations: 147.3 kB / 0.737 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.178, allocations: 31.98 kB / 0.737 GB, free: 8.52 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.0002222/1.178, allocations: 112.8 kB / 0.7371 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.178, allocations: 114.6 kB / 0.7372 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.189, allocations: 3.448 MB / 0.7406 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.189, allocations: 16 kB / 0.7406 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.189, allocations: 0 / 0.7406 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.189, allocations: 7.891 kB / 0.7406 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/1.191, allocations: 1.108 MB / 0.7417 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.191, allocations: 3.984 kB / 0.7417 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/1.192, allocations: 107.9 kB / 0.7418 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004954/1.197, allocations: 1.365 MB / 0.7431 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/1.197, allocations: 11.98 kB / 0.7431 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.211, allocations: 5.796 MB / 0.7488 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.211, allocations: 0 / 0.7488 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01188/1.223, allocations: 4.127 MB / 0.7528 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01318/1.236, allocations: 5.185 MB / 0.7579 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/1.237, allocations: 239.3 kB / 0.7581 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/1.237, allocations: 7.906 kB / 0.7581 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.238, allocations: 111.9 kB / 0.7582 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/1.239, allocations: 92.83 kB / 0.7583 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.708e-05/1.239, allocations: 35.92 kB / 0.7583 GB, free: 2.391 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009714/1.24, allocations: 0.6699 MB / 0.759 GB, free: 1.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001717/1.242, allocations: 327.6 kB / 0.7593 GB, free: 1.391 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.0003154/1.242, allocations: 151 kB / 0.7595 GB, free: 1.234 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005209/1.247, allocations: 1.616 MB / 0.761 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.247, allocations: 0 / 0.761 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.251, allocations: 1.204 MB / 0.7622 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/1.252, allocations: 76.3 kB / 0.7623 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/1.257, allocations: 2.02 MB / 0.7643 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.258, allocations: 1.194 MB / 0.7654 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/1.258, allocations: 0 / 0.7654 GB, free: 11.05 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)