Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.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.Mostar,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar",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.002856/0.002856, allocations: 183 kB / 7.455 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.37/1.37, allocations: 221.4 MB / 229.3 MB, free: 2.984 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: 95.02 kB / 280.1 MB, free: 1.207 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4928/0.4928, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.171/0.6638, allocations: 75.65 MB / 485.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/1.041, allocations: 69.49 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/1.181, allocations: 106.8 MB / 0.6463 GB, free: 13.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.181, allocations: 71.91 kB / 0.6463 GB, free: 13.03 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.3909/1.572, allocations: 37.63 MB / 0.6831 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.572, allocations: 14.7 kB / 0.6831 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/1.573, allocations: 284.1 kB / 0.6834 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/1.575, allocations: 1.017 MB / 0.6844 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/1.575, allocations: 174.8 kB / 0.6845 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.575, allocations: 66 kB / 0.6846 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/1.576, allocations: 0.8519 MB / 0.6854 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.578, allocations: 1.021 MB / 0.6864 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.578, allocations: 0 / 0.6864 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/1.578, allocations: 11.11 kB / 0.6864 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.578, allocations: 24.91 kB / 0.6865 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/1.585, allocations: 5.171 MB / 0.6915 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.586, allocations: 0.7077 MB / 0.6922 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/1.587, allocations: 438.3 kB / 0.6926 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/1.587, allocations: 16.97 kB / 0.6926 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/1.588, allocations: 0.5505 MB / 0.6932 GB, free: 100.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.426e-06/1.588, allocations: 0 / 0.6932 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004459/1.592, allocations: 1.641 MB / 0.6948 GB, free: 100 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.592, allocations: 269.4 kB / 0.695 GB, free: 99.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/1.594, allocations: 1.016 MB / 0.696 GB, free: 99.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/1.594, allocations: 33.67 kB / 0.6961 GB, free: 99.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/1.595, allocations: 431.6 kB / 0.6965 GB, free: 98.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/1.595, allocations: 351 kB / 0.6968 GB, free: 98.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/1.595, allocations: 0 / 0.6968 GB, free: 98.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/1.595, allocations: 355.8 kB / 0.6972 GB, free: 98.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/1.596, allocations: 423.9 kB / 0.6976 GB, free: 98.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/1.597, allocations: 0.6326 MB / 0.6982 GB, free: 97.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008569/1.598, allocations: 490.4 kB / 0.6986 GB, free: 97.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.598, allocations: 0 / 0.6986 GB, free: 97.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006262/1.604, allocations: 2.532 MB / 0.7011 GB, free: 96.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/1.604, allocations: 1.517 MB / 0.7026 GB, free: 95.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.604, allocations: 4 kB / 0.7026 GB, free: 95.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005735/1.61, allocations: 1.447 MB / 0.704 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/1.611, allocations: 142.6 kB / 0.7041 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/1.617, allocations: 4.607 MB / 0.7086 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.618, allocations: 190.9 kB / 0.7088 GB, free: 91.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.619, allocations: 49.7 kB / 0.7089 GB, free: 91.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.619, allocations: 3.406 kB / 0.7089 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006235/1.625, allocations: 2.076 MB / 0.7109 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.625, allocations: 2.75 kB / 0.7109 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/1.63, allocations: 1.333 MB / 0.7122 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/1.63, allocations: 147.8 kB / 0.7124 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/1.637, allocations: 7.367 MB / 0.7195 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.639, allocations: 133 kB / 0.7197 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.639, allocations: 46.61 kB / 0.7197 GB, free: 83.81 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real sT5B.ECOMP:VARIABLE() type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,11 51} Notification: Performance of prepare postOptimizeDAE: time 0.0005046/1.64, allocations: 136.6 kB / 0.7198 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/1.64, allocations: 160.2 kB / 0.72 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004706/1.645, allocations: 1.682 MB / 0.7216 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.645, allocations: 6.75 kB / 0.7216 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.645, allocations: 5.156 kB / 0.7217 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.645, allocations: 3.75 kB / 0.7217 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006566/1.652, allocations: 3.281 MB / 0.7249 GB, free: 80.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.652, allocations: 0 / 0.7249 GB, free: 80.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/1.653, allocations: 198.8 kB / 0.725 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.655, allocations: 0.495 MB / 0.7255 GB, free: 79.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.655, allocations: 16.08 kB / 0.7255 GB, free: 79.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/1.659, allocations: 2.92 MB / 0.7284 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.66, allocations: 3.938 kB / 0.7284 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005113/1.665, allocations: 2.343 MB / 0.7307 GB, free: 74.89 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005786/1.67, allocations: 3.317 MB / 0.7339 GB, free: 71.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/1.671, allocations: 246.3 kB / 0.7342 GB, free: 71.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/1.671, allocations: 7.906 kB / 0.7342 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.673, allocations: 130.7 kB / 0.7343 GB, free: 71.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.673, allocations: 80.02 kB / 0.7344 GB, free: 71.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/1.673, allocations: 27.75 kB / 0.7344 GB, free: 71.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001209/1.674, allocations: 0.768 MB / 0.7352 GB, free: 70.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003337/1.678, allocations: 0.5674 MB / 0.7357 GB, free: 70.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/1.678, allocations: 152.4 kB / 0.7358 GB, free: 69.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006919/1.685, allocations: 3.119 MB / 0.7389 GB, free: 66.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.685, allocations: 4 kB / 0.7389 GB, free: 66.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.686, allocations: 0.8463 MB / 0.7397 GB, free: 66.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.687, allocations: 139.9 kB / 0.7399 GB, free: 66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/1.693, allocations: 2.211 MB / 0.742 GB, free: 64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.694, allocations: 1.357 MB / 0.7433 GB, free: 62.83 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/1.694, allocations: 0 / 0.7433 GB, free: 62.83 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)