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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_release_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.002397/0.002397, allocations: 182.9 kB / 7.461 MB, free: 2.5 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.05/1.05, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008846/0.0008846, allocations: 94.03 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3568/0.3568, allocations: 78.11 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1107/0.4676, allocations: 75.5 MB / 484.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.686, allocations: 69.33 MB / 0.5408 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.7891, allocations: 106.2 MB / 0.6445 GB, free: 14.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.7893, allocations: 79.94 kB / 0.6446 GB, free: 14.65 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.2534/1.043, allocations: 40.29 MB / 0.6839 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/1.043, allocations: 10.53 kB / 0.684 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/1.044, allocations: 279.8 kB / 0.6842 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.045, allocations: 1.027 MB / 0.6852 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/1.045, allocations: 171 kB / 0.6854 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.045, allocations: 65.03 kB / 0.6854 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001253/1.046, allocations: 0.848 MB / 0.6863 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.048, allocations: 1.026 MB / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.048, allocations: 3.188 kB / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/1.048, allocations: 2.688 kB / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/1.048, allocations: 26.22 kB / 0.6873 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/1.054, allocations: 5.176 MB / 0.6924 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.055, allocations: 0.7061 MB / 0.6931 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/1.055, allocations: 435.9 kB / 0.6935 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.255e-05/1.055, allocations: 20.11 kB / 0.6935 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006641/1.056, allocations: 0.559 MB / 0.694 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 1.894e-06/1.056, allocations: 0 / 0.694 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.003828/1.06, allocations: 1.631 MB / 0.6956 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.06, allocations: 273.5 kB / 0.6959 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/1.061, allocations: 1.024 MB / 0.6969 GB, free: 99.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.061, allocations: 29.14 kB / 0.6969 GB, free: 99.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/1.061, allocations: 428.9 kB / 0.6973 GB, free: 99.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/1.061, allocations: 355.2 kB / 0.6977 GB, free: 99.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/1.062, allocations: 0 / 0.6977 GB, free: 99.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/1.062, allocations: 362.8 kB / 0.698 GB, free: 98.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/1.062, allocations: 419.1 kB / 0.6984 GB, free: 98.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/1.063, allocations: 0.6284 MB / 0.699 GB, free: 98.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/1.064, allocations: 485.4 kB / 0.6995 GB, free: 98.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.064, allocations: 0 / 0.6995 GB, free: 98.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00594/1.07, allocations: 2.535 MB / 0.702 GB, free: 97.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/1.07, allocations: 1.519 MB / 0.7034 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.07, allocations: 4.5 kB / 0.7034 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004705/1.074, allocations: 1.441 MB / 0.7049 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/1.075, allocations: 148.5 kB / 0.705 GB, free: 95.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/1.08, allocations: 4.601 MB / 0.7095 GB, free: 91.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.081, allocations: 189.9 kB / 0.7097 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.081, allocations: 47.92 kB / 0.7097 GB, free: 91.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/1.081, allocations: 3.594 kB / 0.7097 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004843/1.086, allocations: 2.076 MB / 0.7117 GB, free: 91.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.086, allocations: 7.172 kB / 0.7118 GB, free: 91.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/1.09, allocations: 1.329 MB / 0.7131 GB, free: 90.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/1.091, allocations: 140.2 kB / 0.7132 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/1.096, allocations: 7.364 MB / 0.7204 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.097, allocations: 135.9 kB / 0.7205 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/1.097, allocations: 51.33 kB / 0.7206 GB, free: 84.42 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.0002845/1.098, allocations: 132.3 kB / 0.7207 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.098, allocations: 149.9 kB / 0.7208 GB, free: 84.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/1.102, allocations: 1.687 MB / 0.7225 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.102, allocations: 12 kB / 0.7225 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.102, allocations: 7.609 kB / 0.7225 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.102, allocations: 3.562 kB / 0.7225 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/1.107, allocations: 3.27 MB / 0.7257 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.107, allocations: 0 / 0.7257 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/1.108, allocations: 199 kB / 0.7259 GB, free: 80.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/1.11, allocations: 0.5015 MB / 0.7264 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/1.11, allocations: 15.89 kB / 0.7264 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/1.114, allocations: 2.912 MB / 0.7292 GB, free: 77.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.114, allocations: 192 / 0.7292 GB, free: 77.31 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004484/1.118, allocations: 2.348 MB / 0.7315 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00526/1.124, allocations: 3.315 MB / 0.7348 GB, free: 72.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/1.124, allocations: 246.8 kB / 0.735 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/1.124, allocations: 8.516 kB / 0.735 GB, free: 71.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.125, allocations: 132.6 kB / 0.7351 GB, free: 71.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.126, allocations: 77.8 kB / 0.7352 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/1.126, allocations: 30.16 kB / 0.7352 GB, free: 71.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009182/1.127, allocations: 0.7623 MB / 0.736 GB, free: 70.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002583/1.129, allocations: 0.5715 MB / 0.7365 GB, free: 70.33 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.0002553/1.129, allocations: 164.2 kB / 0.7367 GB, free: 70.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005906/1.135, allocations: 3.115 MB / 0.7397 GB, free: 67.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.135, allocations: 4 kB / 0.7397 GB, free: 67.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.137, allocations: 0.8504 MB / 0.7406 GB, free: 66.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/1.137, allocations: 134.8 kB / 0.7407 GB, free: 66.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/1.141, allocations: 2.219 MB / 0.7429 GB, free: 64.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/1.142, allocations: 1.353 MB / 0.7442 GB, free: 62.66 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/1.142, allocations: 0 / 0.7442 GB, free: 62.66 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)