Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00322/0.00322, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 98.58 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0815/0.0815, allocations: 12.19 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2939/0.2939, allocations: 78.04 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2842/0.5782, allocations: 76.08 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.7418, allocations: 69.24 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/1.193, allocations: 107.7 MB / 0.6864 GB, free: 1.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/1.193, allocations: 73.97 kB / 0.6865 GB, free: 1.375 MB / 426.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.113/1.306, allocations: 39.72 MB / 0.7253 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/1.306, allocations: 15.94 kB / 0.7253 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/1.308, allocations: 284 kB / 0.7256 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/1.311, allocations: 1.057 MB / 0.7266 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/1.311, allocations: 168.8 kB / 0.7268 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/1.312, allocations: 71.09 kB / 0.7268 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002305/1.314, allocations: 0.8495 MB / 0.7277 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/1.317, allocations: 1.02 MB / 0.7287 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/1.317, allocations: 7.938 kB / 0.7287 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/1.317, allocations: 0 / 0.7287 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/1.317, allocations: 28 kB / 0.7287 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/1.328, allocations: 5.189 MB / 0.7338 GB, free: 9.969 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.33, allocations: 0.7012 MB / 0.7345 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/1.331, allocations: 432.3 kB / 0.7349 GB, free: 9.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/1.331, allocations: 20.97 kB / 0.7349 GB, free: 9.246 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009012/1.332, allocations: 0.5549 MB / 0.7354 GB, free: 8.871 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 3.135e-06/1.332, allocations: 4 kB / 0.7354 GB, free: 8.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=101): time 0.00501/1.337, allocations: 1.643 MB / 0.737 GB, free: 7.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.337, allocations: 270 kB / 0.7373 GB, free: 7.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.339, allocations: 1.032 MB / 0.7383 GB, free: 6.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/1.339, allocations: 25.7 kB / 0.7383 GB, free: 6.461 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.34, allocations: 431 kB / 0.7387 GB, free: 6.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/1.34, allocations: 363.6 kB / 0.7391 GB, free: 5.793 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/1.34, allocations: 4 kB / 0.7391 GB, free: 5.789 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/1.34, allocations: 349.8 kB / 0.7394 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/1.341, allocations: 419.2 kB / 0.7398 GB, free: 5.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.342, allocations: 0.6365 MB / 0.7404 GB, free: 4.637 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.343, allocations: 478.2 kB / 0.7409 GB, free: 4.176 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.343, allocations: 4 kB / 0.7409 GB, free: 4.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007413/1.351, allocations: 2.537 MB / 0.7434 GB, free: 1.605 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000697/1.351, allocations: 1.522 MB / 0.7449 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/1.351, allocations: 4.047 kB / 0.7449 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/1.357, allocations: 1.431 MB / 0.7463 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/1.358, allocations: 163.7 kB / 0.7464 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/1.364, allocations: 4.593 MB / 0.7509 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.366, allocations: 195 kB / 0.7511 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.366, allocations: 44.06 kB / 0.7511 GB, free: 9.426 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.366, allocations: 8 kB / 0.7512 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005639/1.372, allocations: 2.064 MB / 0.7532 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.372, allocations: 4 kB / 0.7532 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005068/1.377, allocations: 1.333 MB / 0.7545 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/1.378, allocations: 155.7 kB / 0.7546 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/1.386, allocations: 7.366 MB / 0.7618 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/1.388, allocations: 135.2 kB / 0.7619 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.388, allocations: 48.05 kB / 0.762 GB, free: 13.79 MB / 0.4948 GB 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.0005068/1.389, allocations: 128 kB / 0.7621 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/1.389, allocations: 150.1 kB / 0.7623 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/1.394, allocations: 1.688 MB / 0.7639 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.394, allocations: 8 kB / 0.7639 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.394, allocations: 0 / 0.7639 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.394, allocations: 11.97 kB / 0.7639 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/1.401, allocations: 3.266 MB / 0.7671 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.401, allocations: 4 kB / 0.7671 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.403, allocations: 199.8 kB / 0.7673 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/1.405, allocations: 0.5052 MB / 0.7678 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.405, allocations: 8 kB / 0.7678 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/1.41, allocations: 2.925 MB / 0.7707 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.41, allocations: 0 / 0.7707 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00593/1.416, allocations: 2.353 MB / 0.773 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007162/1.424, allocations: 3.315 MB / 0.7762 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/1.424, allocations: 250.9 kB / 0.7764 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.425, allocations: 11.98 kB / 0.7764 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.426, allocations: 131.9 kB / 0.7766 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.426, allocations: 76.86 kB / 0.7766 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/1.426, allocations: 28 kB / 0.7767 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00122/1.428, allocations: 0.778 MB / 0.7774 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003136/1.431, allocations: 0.5687 MB / 0.778 GB, free: 13.09 MB / 0.5105 GB 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.0004534/1.431, allocations: 160.2 kB / 0.7781 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008387/1.44, allocations: 3.121 MB / 0.7812 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.44, allocations: 0 / 0.7812 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.442, allocations: 0.8432 MB / 0.782 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.443, allocations: 141.2 kB / 0.7821 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/1.449, allocations: 2.226 MB / 0.7843 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.45, allocations: 1.369 MB / 0.7857 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/1.45, allocations: 0 / 0.7857 GB, free: 5.027 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)