Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.003805/0.003805, allocations: 179.1 kB / 7.458 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.3/1.3, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001055/0.001055, allocations: 101.4 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4755/0.4755, allocations: 78.91 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.27e-05, allocations: 4 kB / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 69.49 MB / 0.5418 GB, free: 20.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.454, allocations: 106.8 MB / 0.6462 GB, free: 13.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.4542, allocations: 71.97 kB / 0.6463 GB, free: 13.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3165/0.7707, allocations: 35.83 MB / 0.6812 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.493e-05/0.7709, allocations: 36.75 kB / 0.6813 GB, free: 105 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.00335/0.7742, allocations: 1.774 MB / 0.683 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7743, allocations: 7.594 kB / 0.683 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009827/0.7753, allocations: 286 kB / 0.6833 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7767, allocations: 1.017 MB / 0.6843 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.7769, allocations: 171.7 kB / 0.6844 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.7771, allocations: 71.69 kB / 0.6845 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/0.7785, allocations: 0.8467 MB / 0.6853 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.7799, allocations: 1.028 MB / 0.6863 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.78, allocations: 3.562 kB / 0.6863 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.7801, allocations: 3.625 kB / 0.6863 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.7801, allocations: 24.97 kB / 0.6864 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.7872, allocations: 5.168 MB / 0.6914 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.7889, allocations: 0.7087 MB / 0.6921 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.7895, allocations: 433.9 kB / 0.6925 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.7896, allocations: 27.61 kB / 0.6926 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000883/0.7905, allocations: 0.5485 MB / 0.6931 GB, free: 100.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 4.428e-06/0.7905, allocations: 4 kB / 0.6931 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004228/0.7948, allocations: 1.635 MB / 0.6947 GB, free: 100.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.7949, allocations: 273.7 kB / 0.6949 GB, free: 99.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.796, allocations: 1.023 MB / 0.6959 GB, free: 99.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.7961, allocations: 25.7 kB / 0.696 GB, free: 99.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.7963, allocations: 426.8 kB / 0.6964 GB, free: 99.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.7966, allocations: 362.1 kB / 0.6967 GB, free: 98.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.7967, allocations: 0 / 0.6967 GB, free: 98.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.7967, allocations: 352.4 kB / 0.6971 GB, free: 98.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.7974, allocations: 417.5 kB / 0.6975 GB, free: 98.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.7981, allocations: 0.6398 MB / 0.6981 GB, free: 97.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.7989, allocations: 480.1 kB / 0.6985 GB, free: 97.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7989, allocations: 0 / 0.6985 GB, free: 97.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006163/0.805, allocations: 2.538 MB / 0.701 GB, free: 96.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.8053, allocations: 1.517 MB / 0.7025 GB, free: 95.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.8054, allocations: 7.625 kB / 0.7025 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005452/0.8108, allocations: 1.433 MB / 0.7039 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.8115, allocations: 149.5 kB / 0.7041 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.8171, allocations: 4.604 MB / 0.7085 GB, free: 91.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.819, allocations: 193.5 kB / 0.7087 GB, free: 91.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.8191, allocations: 45.06 kB / 0.7088 GB, free: 91.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8192, allocations: 3.781 kB / 0.7088 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006008/0.8252, allocations: 2.078 MB / 0.7108 GB, free: 90.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8252, allocations: 4.75 kB / 0.7108 GB, free: 90.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/0.8298, allocations: 1.327 MB / 0.7121 GB, free: 90.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.8305, allocations: 152.4 kB / 0.7123 GB, free: 90.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/0.8367, allocations: 7.37 MB / 0.7195 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8383, allocations: 133.9 kB / 0.7196 GB, free: 83.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.8384, allocations: 39.97 kB / 0.7196 GB, free: 83.98 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.0004032/0.8388, allocations: 147.7 kB / 0.7198 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.8391, allocations: 154.3 kB / 0.7199 GB, free: 83.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.8436, allocations: 1.681 MB / 0.7215 GB, free: 83.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.8436, allocations: 12 kB / 0.7216 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8436, allocations: 192 / 0.7216 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8436, allocations: 7.078 kB / 0.7216 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.8493, allocations: 3.265 MB / 0.7248 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8493, allocations: 0 / 0.7248 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/0.8503, allocations: 206.3 kB / 0.7249 GB, free: 80.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.852, allocations: 0.5053 MB / 0.7254 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/0.8521, allocations: 11.7 kB / 0.7255 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.8567, allocations: 2.921 MB / 0.7283 GB, free: 76.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8567, allocations: 7 kB / 0.7283 GB, free: 76.97 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004954/0.8616, allocations: 2.336 MB / 0.7306 GB, free: 74.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/0.8622, allocations: 251.8 kB / 0.7308 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.8624, allocations: 0 / 0.7308 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.8637, allocations: 139.5 kB / 0.731 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.8639, allocations: 74.33 kB / 0.731 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.864, allocations: 31.52 kB / 0.7311 GB, free: 74.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009653/0.8649, allocations: 0.7657 MB / 0.7318 GB, free: 73.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001661/0.8666, allocations: 0.5604 MB / 0.7324 GB, free: 73.14 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.0003119/0.8669, allocations: 153.4 kB / 0.7325 GB, free: 72.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006684/0.8736, allocations: 3.108 MB / 0.7355 GB, free: 70.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8736, allocations: 0 / 0.7355 GB, free: 70.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.8753, allocations: 0.8503 MB / 0.7364 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.8764, allocations: 143.5 kB / 0.7365 GB, free: 69.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004705/0.8812, allocations: 2.197 MB / 0.7387 GB, free: 67.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.8822, allocations: 1.321 MB / 0.7399 GB, free: 65.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8822, allocations: 0 / 0.7399 GB, free: 65.94 MB / 490.7 MB Notification: Performance of Templates: time 0.03886/0.921, allocations: 27.61 MB / 0.7669 GB, free: 38.88 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)