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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_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.002989/0.002989, allocations: 179 kB / 7.46 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.279/1.279, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008805/0.0008805, allocations: 109.8 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.4505/0.4505, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/0.6235, allocations: 75.48 MB / 484.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/1.046, allocations: 69.35 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/1.186, allocations: 106.2 MB / 0.6445 GB, free: 14.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/1.186, allocations: 71.97 kB / 0.6446 GB, free: 14.55 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.3958/1.582, allocations: 40.29 MB / 0.6839 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.582, allocations: 7.844 kB / 0.6839 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.583, allocations: 285.5 kB / 0.6842 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.585, allocations: 1.015 MB / 0.6852 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/1.585, allocations: 173.6 kB / 0.6854 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.585, allocations: 66.94 kB / 0.6854 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/1.586, allocations: 0.8546 MB / 0.6863 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.588, allocations: 1.024 MB / 0.6873 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.588, allocations: 2.844 kB / 0.6873 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/1.588, allocations: 0 / 0.6873 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.588, allocations: 26.56 kB / 0.6873 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006608/1.595, allocations: 5.169 MB / 0.6923 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/1.596, allocations: 0.7087 MB / 0.693 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/1.596, allocations: 433.5 kB / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/1.597, allocations: 20.3 kB / 0.6935 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007566/1.597, allocations: 0.5579 MB / 0.694 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.146e-06/1.597, allocations: 0 / 0.694 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004332/1.602, allocations: 1.633 MB / 0.6956 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/1.602, allocations: 274.8 kB / 0.6959 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.603, allocations: 1.018 MB / 0.6968 GB, free: 99.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.603, allocations: 29.7 kB / 0.6969 GB, free: 99.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/1.603, allocations: 434.8 kB / 0.6973 GB, free: 99.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/1.604, allocations: 354.1 kB / 0.6976 GB, free: 99.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/1.604, allocations: 3.562 kB / 0.6976 GB, free: 99.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/1.604, allocations: 348.1 kB / 0.698 GB, free: 98.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/1.605, allocations: 423.1 kB / 0.6984 GB, free: 98.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/1.605, allocations: 0.6319 MB / 0.699 GB, free: 98.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/1.606, allocations: 483.7 kB / 0.6994 GB, free: 98.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.606, allocations: 3.938 kB / 0.6995 GB, free: 98.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0067/1.613, allocations: 2.536 MB / 0.7019 GB, free: 97.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/1.613, allocations: 1.519 MB / 0.7034 GB, free: 95.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.613, allocations: 3.031 kB / 0.7034 GB, free: 95.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005341/1.618, allocations: 1.437 MB / 0.7048 GB, free: 95.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007714/1.619, allocations: 150 kB / 0.705 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/1.625, allocations: 4.606 MB / 0.7095 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.627, allocations: 194.9 kB / 0.7096 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/1.627, allocations: 47.72 kB / 0.7097 GB, free: 91.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.627, allocations: 6.281 kB / 0.7097 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005447/1.633, allocations: 2.068 MB / 0.7117 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.633, allocations: 8.25 kB / 0.7117 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/1.637, allocations: 1.332 MB / 0.713 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/1.638, allocations: 148.8 kB / 0.7132 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006479/1.645, allocations: 7.359 MB / 0.7204 GB, free: 84.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.646, allocations: 133.9 kB / 0.7205 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.646, allocations: 43.39 kB / 0.7205 GB, free: 84.47 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.0004661/1.647, allocations: 138 kB / 0.7207 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/1.647, allocations: 154.3 kB / 0.7208 GB, free: 84.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/1.652, allocations: 1.681 MB / 0.7224 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.652, allocations: 15.94 kB / 0.7225 GB, free: 83.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.652, allocations: 0 / 0.7225 GB, free: 83.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.652, allocations: 7.453 kB / 0.7225 GB, free: 83.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/1.658, allocations: 3.268 MB / 0.7257 GB, free: 80.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.658, allocations: 5.312 kB / 0.7257 GB, free: 80.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/1.659, allocations: 205.7 kB / 0.7259 GB, free: 80.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/1.66, allocations: 0.4943 MB / 0.7263 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/1.661, allocations: 15.84 kB / 0.7264 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/1.665, allocations: 2.913 MB / 0.7292 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.665, allocations: 0.9375 kB / 0.7292 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005255/1.67, allocations: 2.351 MB / 0.7315 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006314/1.677, allocations: 3.316 MB / 0.7347 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/1.677, allocations: 250.9 kB / 0.735 GB, free: 71.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/1.678, allocations: 4.656 kB / 0.735 GB, free: 71.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.679, allocations: 129 kB / 0.7351 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.679, allocations: 81.33 kB / 0.7352 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/1.679, allocations: 26.39 kB / 0.7352 GB, free: 71.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001003/1.68, allocations: 0.7699 MB / 0.736 GB, free: 70.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002889/1.683, allocations: 0.5676 MB / 0.7365 GB, free: 70.32 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.0003518/1.684, allocations: 152.9 kB / 0.7367 GB, free: 70.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006819/1.69, allocations: 3.126 MB / 0.7397 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.69, allocations: 0 / 0.7397 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/1.692, allocations: 0.8485 MB / 0.7405 GB, free: 66.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.693, allocations: 147.5 kB / 0.7407 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/1.698, allocations: 2.215 MB / 0.7428 GB, free: 63.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008752/1.699, allocations: 1.353 MB / 0.7442 GB, free: 62.52 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/1.699, allocations: 0 / 0.7442 GB, free: 62.52 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)