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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.295/1.295, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001083/0.001083, allocations: 92.39 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4744/0.4744, allocations: 78.11 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.926e-05, allocations: 0 / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.614, allocations: 106.3 MB / 0.6451 GB, free: 9.492 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.6143, allocations: 75.95 kB / 0.6452 GB, free: 9.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/0.7185, allocations: 38.82 MB / 0.6831 GB, free: 2.688 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.7185, allocations: 0 / 0.6831 GB, free: 2.688 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.7186, allocations: 32 kB / 0.6831 GB, free: 2.656 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.00369/0.7223, allocations: 1.724 MB / 0.6848 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7224, allocations: 12.03 kB / 0.6848 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.7235, allocations: 281.6 kB / 0.6851 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.7252, allocations: 1.018 MB / 0.6861 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.7254, allocations: 169 kB / 0.6862 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.7256, allocations: 67.84 kB / 0.6863 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001533/0.7271, allocations: 0.8514 MB / 0.6871 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.7288, allocations: 1.025 MB / 0.6881 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7289, allocations: 0 / 0.6881 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.7289, allocations: 4 kB / 0.6881 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.729, allocations: 24 kB / 0.6881 GB, free: 13.29 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008703/0.7377, allocations: 4.996 MB / 0.693 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.7516, allocations: 2.639 MB / 0.6956 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.7532, allocations: 433.8 kB / 0.696 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.7533, allocations: 21.25 kB / 0.696 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.7551, allocations: 0.5824 MB / 0.6966 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 5.019e-06/0.7551, allocations: 0 / 0.6966 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.007991/0.7631, allocations: 1.598 MB / 0.6982 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.7634, allocations: 274.3 kB / 0.6984 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.7662, allocations: 1.019 MB / 0.6994 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.7665, allocations: 25.7 kB / 0.6994 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.7673, allocations: 0.6635 MB / 0.7001 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.7679, allocations: 358.8 kB / 0.7004 GB, free: 304 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/0.7681, allocations: 0 / 0.7004 GB, free: 304 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.7683, allocations: 354 kB / 0.7008 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.7697, allocations: 414.6 kB / 0.7012 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.7713, allocations: 0.6292 MB / 0.7018 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.7729, allocations: 474.6 kB / 0.7022 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.773, allocations: 3.938 kB / 0.7022 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01016/0.7831, allocations: 2.239 MB / 0.7044 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008874/0.7841, allocations: 1.524 MB / 0.7059 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.7841, allocations: 8 kB / 0.7059 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009192/0.7933, allocations: 1.369 MB / 0.7072 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.7947, allocations: 150.9 kB / 0.7074 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009249/0.8039, allocations: 4.381 MB / 0.7117 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.8065, allocations: 179.1 kB / 0.7118 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.8068, allocations: 45.78 kB / 0.7119 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.8068, allocations: 7.984 kB / 0.7119 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006664/0.8135, allocations: 1.751 MB / 0.7136 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.8136, allocations: 4 kB / 0.7136 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.8188, allocations: 1.269 MB / 0.7148 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.8194, allocations: 143.8 kB / 0.715 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007429/0.8269, allocations: 7.397 MB / 0.7222 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.8284, allocations: 123.1 kB / 0.7223 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8285, allocations: 47.98 kB / 0.7224 GB, free: 8.984 MB / 0.5261 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 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,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.8289, allocations: 139.9 kB / 0.7225 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.8292, allocations: 146.2 kB / 0.7226 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.8335, allocations: 1.647 MB / 0.7243 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.8335, allocations: 8.75 kB / 0.7243 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8335, allocations: 4 kB / 0.7243 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8335, allocations: 7.969 kB / 0.7243 GB, free: 7.012 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/0.8398, allocations: 3.317 MB / 0.7275 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.8398, allocations: 0 / 0.7275 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/0.8407, allocations: 195.8 kB / 0.7277 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.8425, allocations: 495.7 kB / 0.7282 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.8426, allocations: 8 kB / 0.7282 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/0.8475, allocations: 3.003 MB / 0.7311 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8475, allocations: 0 / 0.7311 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.8527, allocations: 2.303 MB / 0.7334 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.8532, allocations: 250.9 kB / 0.7336 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.8534, allocations: 4 kB / 0.7336 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8545, allocations: 119.9 kB / 0.7337 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.8549, allocations: 125.1 kB / 0.7338 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.8549, allocations: 20 kB / 0.7339 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001158/0.8561, allocations: 0.7736 MB / 0.7346 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8561, allocations: 3.938 kB / 0.7346 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001617/0.8577, allocations: 0.5427 MB / 0.7351 GB, free: 11.61 MB / 0.5417 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.0003027/0.858, allocations: 163 kB / 0.7353 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00651/0.8646, allocations: 3.066 MB / 0.7383 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8646, allocations: 4 kB / 0.7383 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8662, allocations: 0.8673 MB / 0.7391 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.8673, allocations: 143.8 kB / 0.7393 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.8709, allocations: 2.122 MB / 0.7414 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.8717, allocations: 1.24 MB / 0.7426 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009532/0.8726, allocations: 220.2 kB / 0.7428 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.8728, allocations: 71.42 kB / 0.7428 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.8728, allocations: 0 / 0.7428 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of Templates: time 0.2893/1.162, allocations: 24.04 MB / 0.7663 GB, free: 141.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)