Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_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.002953/0.002953, allocations: 182.9 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.232/1.232, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.001297/0.001297, allocations: 93.7 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4106/0.4106, allocations: 78.05 MB / 408.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.18e-06, allocations: 0 / 484.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 69.34 MB / 0.5407 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.3692, allocations: 106.2 MB / 0.6444 GB, free: 14.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.3695, allocations: 83.94 kB / 0.6445 GB, free: 14.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2876/0.657, allocations: 38.48 MB / 0.6821 GB, free: 105.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001229/0.6572, allocations: 39.53 kB / 0.6821 GB, free: 105.8 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.003864/0.6611, allocations: 1.763 MB / 0.6838 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6611, allocations: 10.19 kB / 0.6838 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.6623, allocations: 284.5 kB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.6638, allocations: 1.023 MB / 0.6851 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.664, allocations: 175.1 kB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6641, allocations: 64.72 kB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/0.6656, allocations: 0.8459 MB / 0.6861 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.6671, allocations: 1.026 MB / 0.6871 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.6671, allocations: 3.75 kB / 0.6872 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.6672, allocations: 3.219 kB / 0.6872 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6672, allocations: 25.19 kB / 0.6872 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.674, allocations: 5.179 MB / 0.6922 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6754, allocations: 0.7044 MB / 0.6929 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.676, allocations: 430.7 kB / 0.6933 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.6761, allocations: 27.3 kB / 0.6934 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.6769, allocations: 0.5593 MB / 0.6939 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.176e-06/0.6769, allocations: 0 / 0.6939 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004518/0.6814, allocations: 1.637 MB / 0.6955 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.6815, allocations: 277.6 kB / 0.6958 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.683, allocations: 1.021 MB / 0.6968 GB, free: 100 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.6831, allocations: 25.7 kB / 0.6968 GB, free: 99.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6833, allocations: 423.2 kB / 0.6972 GB, free: 99.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.6836, allocations: 360 kB / 0.6975 GB, free: 99.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.6837, allocations: 3.719 kB / 0.6975 GB, free: 99.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6838, allocations: 348.1 kB / 0.6979 GB, free: 99.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.6845, allocations: 422.1 kB / 0.6983 GB, free: 98.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.6853, allocations: 0.6321 MB / 0.6989 GB, free: 98.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.6861, allocations: 481 kB / 0.6994 GB, free: 98.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6861, allocations: 0 / 0.6994 GB, free: 98.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006661/0.6927, allocations: 2.544 MB / 0.7018 GB, free: 97.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.693, allocations: 1.518 MB / 0.7033 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.693, allocations: 3.875 kB / 0.7033 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005434/0.6984, allocations: 1.436 MB / 0.7047 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.6991, allocations: 148.8 kB / 0.7049 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.7046, allocations: 4.605 MB / 0.7094 GB, free: 92.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.7062, allocations: 194.4 kB / 0.7095 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.7064, allocations: 44.41 kB / 0.7096 GB, free: 92.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7064, allocations: 6.594 kB / 0.7096 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005624/0.712, allocations: 2.078 MB / 0.7116 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7121, allocations: 4.781 kB / 0.7116 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/0.7169, allocations: 1.328 MB / 0.7129 GB, free: 91.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.7176, allocations: 143.4 kB / 0.7131 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.724, allocations: 7.364 MB / 0.7203 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.7256, allocations: 132.6 kB / 0.7204 GB, free: 84.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.7257, allocations: 52.25 kB / 0.7204 GB, free: 84.61 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.0003939/0.7261, allocations: 135.3 kB / 0.7206 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.7265, allocations: 150.2 kB / 0.7207 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.731, allocations: 1.682 MB / 0.7223 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.731, allocations: 12 kB / 0.7224 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7311, allocations: 0 / 0.7224 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.7311, allocations: 15.78 kB / 0.7224 GB, free: 83.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.7377, allocations: 3.264 MB / 0.7256 GB, free: 80.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7378, allocations: 3.938 kB / 0.7256 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7388, allocations: 204.1 kB / 0.7258 GB, free: 80.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.7407, allocations: 0.5003 MB / 0.7263 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7408, allocations: 11.75 kB / 0.7263 GB, free: 80.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/0.7456, allocations: 2.911 MB / 0.7291 GB, free: 77.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7456, allocations: 4 kB / 0.7291 GB, free: 77.35 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005248/0.7509, allocations: 2.346 MB / 0.7314 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.7514, allocations: 247.4 kB / 0.7316 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.7517, allocations: 4.656 kB / 0.7316 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.7531, allocations: 136.4 kB / 0.7318 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.7533, allocations: 85 kB / 0.7319 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.7534, allocations: 27.56 kB / 0.7319 GB, free: 74.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001066/0.7545, allocations: 0.7664 MB / 0.7326 GB, free: 74.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001704/0.7562, allocations: 0.5517 MB / 0.7332 GB, free: 73.51 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.0003068/0.7565, allocations: 156.5 kB / 0.7333 GB, free: 73.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007052/0.7636, allocations: 3.122 MB / 0.7364 GB, free: 70.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7636, allocations: 0 / 0.7364 GB, free: 70.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.7653, allocations: 0.8543 MB / 0.7372 GB, free: 69.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.7662, allocations: 132.1 kB / 0.7373 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.771, allocations: 2.196 MB / 0.7395 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000917/0.7719, allocations: 1.323 MB / 0.7408 GB, free: 66.12 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7719, allocations: 0 / 0.7408 GB, free: 66.12 MB / 490.7 MB Notification: Performance of Templates: time 0.04863/0.8206, allocations: 27.61 MB / 0.7677 GB, free: 38.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)