Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") [: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.002919/0.002919, allocations: 179.1 kB / 7.454 MB, free: 2.52 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.021/1.021, allocations: 221.4 MB / 229.3 MB, free: 3 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.0008786/0.0008786, allocations: 101.6 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3482/0.3482, allocations: 78.11 MB / 409 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.619e-06/4.639e-06, allocations: 0 / 484.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2115, allocations: 69.34 MB / 0.5407 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.312, allocations: 106.2 MB / 0.6444 GB, free: 14.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.3122, allocations: 67.97 kB / 0.6445 GB, free: 14.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2557/0.5679, allocations: 38.48 MB / 0.6821 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.906e-05/0.568, allocations: 41.8 kB / 0.6821 GB, free: 105.7 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002765/0.5708, allocations: 1.759 MB / 0.6838 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.5708, allocations: 11.22 kB / 0.6838 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.5717, allocations: 280.8 kB / 0.6841 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5729, allocations: 1.024 MB / 0.6851 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.5731, allocations: 174.3 kB / 0.6853 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.5732, allocations: 65.69 kB / 0.6853 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/0.5745, allocations: 0.8492 MB / 0.6862 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5758, allocations: 1.03 MB / 0.6872 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5759, allocations: 0 / 0.6872 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.576, allocations: 3.969 kB / 0.6872 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.576, allocations: 24.69 kB / 0.6872 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/0.5817, allocations: 5.167 MB / 0.6923 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5829, allocations: 0.71 MB / 0.6929 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.5834, allocations: 433.8 kB / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.279e-05/0.5835, allocations: 21.22 kB / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/0.5842, allocations: 0.5548 MB / 0.6939 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 2.114e-06/0.5842, allocations: 0 / 0.6939 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.003799/0.588, allocations: 1.641 MB / 0.6955 GB, free: 100.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.588, allocations: 273.6 kB / 0.6958 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.589, allocations: 1.024 MB / 0.6968 GB, free: 99.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.5891, allocations: 29.64 kB / 0.6968 GB, free: 99.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5893, allocations: 428.4 kB / 0.6972 GB, free: 99.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.5895, allocations: 354.5 kB / 0.6976 GB, free: 99.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.5896, allocations: 0 / 0.6976 GB, free: 99.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.5897, allocations: 352 kB / 0.6979 GB, free: 98.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.5902, allocations: 424.9 kB / 0.6983 GB, free: 98.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.5909, allocations: 0.631 MB / 0.6989 GB, free: 98.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.5916, allocations: 482.8 kB / 0.6994 GB, free: 98.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5916, allocations: 0 / 0.6994 GB, free: 98.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005909/0.5975, allocations: 2.539 MB / 0.7019 GB, free: 97.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.5977, allocations: 1.513 MB / 0.7033 GB, free: 95.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5977, allocations: 7.938 kB / 0.7033 GB, free: 95.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/0.6024, allocations: 1.439 MB / 0.7047 GB, free: 95.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.603, allocations: 145.6 kB / 0.7049 GB, free: 95.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004859/0.6078, allocations: 4.606 MB / 0.7094 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.6091, allocations: 191.9 kB / 0.7096 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6092, allocations: 48.95 kB / 0.7096 GB, free: 91.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.6093, allocations: 3.844 kB / 0.7096 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00478/0.614, allocations: 2.073 MB / 0.7116 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6141, allocations: 5.719 kB / 0.7116 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/0.6182, allocations: 1.332 MB / 0.7129 GB, free: 90.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.6187, allocations: 146.6 kB / 0.7131 GB, free: 90.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.6241, allocations: 7.36 MB / 0.7203 GB, free: 84.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6252, allocations: 130.2 kB / 0.7204 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.6253, allocations: 46.95 kB / 0.7204 GB, free: 84.46 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.0002897/0.6256, allocations: 144.8 kB / 0.7206 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.6258, allocations: 157 kB / 0.7207 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.6297, allocations: 1.678 MB / 0.7224 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6297, allocations: 12 kB / 0.7224 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6297, allocations: 0 / 0.7224 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6297, allocations: 7.688 kB / 0.7224 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.6346, allocations: 3.266 MB / 0.7256 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6346, allocations: 2.188 kB / 0.7256 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/0.6355, allocations: 205.6 kB / 0.7258 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.6371, allocations: 0.495 MB / 0.7263 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.6372, allocations: 19.75 kB / 0.7263 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/0.6412, allocations: 2.913 MB / 0.7291 GB, free: 77.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6413, allocations: 0 / 0.7291 GB, free: 77.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004346/0.6456, allocations: 2.348 MB / 0.7314 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.6459, allocations: 251.4 kB / 0.7317 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6461, allocations: 4.609 kB / 0.7317 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6472, allocations: 132.6 kB / 0.7318 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6474, allocations: 80.91 kB / 0.7319 GB, free: 74.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.6474, allocations: 34.38 kB / 0.7319 GB, free: 74.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008303/0.6483, allocations: 0.7672 MB / 0.7326 GB, free: 74.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001317/0.6496, allocations: 0.5516 MB / 0.7332 GB, free: 73.47 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.0002316/0.6498, allocations: 156.6 kB / 0.7333 GB, free: 73.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005956/0.6558, allocations: 3.119 MB / 0.7364 GB, free: 70.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6558, allocations: 0 / 0.7364 GB, free: 70.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.6572, allocations: 0.854 MB / 0.7372 GB, free: 69.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.6579, allocations: 145.4 kB / 0.7374 GB, free: 69.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.6618, allocations: 2.192 MB / 0.7395 GB, free: 67.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.6625, allocations: 1.326 MB / 0.7408 GB, free: 65.95 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6625, allocations: 0 / 0.7408 GB, free: 65.95 MB / 490.7 MB Notification: Performance of Templates: time 0.03295/0.6955, allocations: 27.61 MB / 0.7678 GB, free: 38.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)