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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110 kB / 16.41 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.1 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 187.7 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4426/0.4426, allocations: 78.53 MB / 419.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 83.81 kB / 0.5543 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2912, allocations: 68.17 MB / 0.6208 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.005848/0.2971, allocations: 7.286 MB / 0.628 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.3012, allocations: 2.757 MB / 0.6306 GB, free: 144 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.3022, allocations: 27.88 kB / 0.6307 GB, free: 116 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008002/0.303, allocations: 281.3 kB / 0.6309 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.3055, allocations: 1.115 MB / 0.632 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3071, allocations: 0.8967 MB / 0.6329 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002844/0.3099, allocations: 2.261 MB / 0.6351 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.3107, allocations: 0.5848 MB / 0.6357 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009665/0.3117, allocations: 0.7976 MB / 0.6365 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.3128, allocations: 0.9488 MB / 0.6374 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.3132, allocations: 204 kB / 0.6376 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007295/0.3139, allocations: 423.8 kB / 0.638 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.3143, allocations: 470.2 kB / 0.6384 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.315, allocations: 0.9014 MB / 0.6393 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.3175, allocations: 2.472 MB / 0.6417 GB, free: 4.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3176, allocations: 0 / 0.6417 GB, free: 4.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.3176, allocations: 0 / 0.6417 GB, free: 4.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.3176, allocations: 3.938 kB / 0.6417 GB, free: 4.727 MB / 446.1 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.01105/0.3287, allocations: 3.335 MB / 0.645 GB, free: 1.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3287, allocations: 8.031 kB / 0.645 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.3301, allocations: 327.5 kB / 0.6453 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.3319, allocations: 1.141 MB / 0.6464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.3322, allocations: 221.2 kB / 0.6466 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.3324, allocations: 116 kB / 0.6467 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3349, allocations: 1.329 MB / 0.648 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.3349, allocations: 4 kB / 0.648 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/0.335, allocations: 40 kB / 0.6481 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.335, allocations: 27.94 kB / 0.6481 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.3377, allocations: 1.175 MB / 0.6493 GB, free: 12.81 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007601/0.3453, allocations: 5.226 MB / 0.6544 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007777/0.3531, allocations: 2.55 MB / 0.6569 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3544, allocations: 0.5863 MB / 0.6574 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.3545, allocations: 20.98 kB / 0.6574 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.356, allocations: 0.7436 MB / 0.6582 GB, free: 3.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 3.957e-06/0.3561, allocations: 0 / 0.6582 GB, free: 3.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.009786/0.3659, allocations: 3.029 MB / 0.6611 GB, free: 284 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.366, allocations: 266 kB / 0.6614 GB, free: 15.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.3682, allocations: 1.368 MB / 0.6627 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.3685, allocations: 45.7 kB / 0.6628 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.3691, allocations: 0.6432 MB / 0.6634 GB, free: 13.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/0.3696, allocations: 392.7 kB / 0.6638 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000699/0.3703, allocations: 359.4 kB / 0.6641 GB, free: 13.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3704, allocations: 305.2 kB / 0.6644 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3722, allocations: 0.7699 MB / 0.6652 GB, free: 12.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.3742, allocations: 1.026 MB / 0.6662 GB, free: 10.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.3777, allocations: 1.638 MB / 0.6678 GB, free: 9.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3777, allocations: 0 / 0.6678 GB, free: 9.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01003/0.3877, allocations: 3.574 MB / 0.6712 GB, free: 5.668 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3878, allocations: 8 kB / 0.6713 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3878, allocations: 4 kB / 0.6713 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/0.3934, allocations: 1.526 MB / 0.6727 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3947, allocations: 247.6 kB / 0.673 GB, free: 3.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.4074, allocations: 9.286 MB / 0.682 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.4096, allocations: 230.8 kB / 0.6823 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/0.41, allocations: 59.98 kB / 0.6823 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002135/0.4121, allocations: 0.9102 MB / 0.6832 GB, free: 8.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/0.414, allocations: 0.9357 MB / 0.6841 GB, free: 7.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002959/0.417, allocations: 1.489 MB / 0.6856 GB, free: 6.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.686e-06/0.417, allocations: 0 / 0.6856 GB, free: 6.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.00831/0.4253, allocations: 3.094 MB / 0.6886 GB, free: 3.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4254, allocations: 9.406 kB / 0.6886 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4254, allocations: 8 kB / 0.6886 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004964/0.4304, allocations: 1.424 MB / 0.69 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.4315, allocations: 255.6 kB / 0.6903 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.4393, allocations: 8.181 MB / 0.6982 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.441, allocations: 175.1 kB / 0.6984 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4412, allocations: 63.98 kB / 0.6985 GB, free: 8.414 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,4), (1,4), (1,4), (1,4), (10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0004337/0.4417, allocations: 274.2 kB / 0.6987 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.442, allocations: 159 kB / 0.6989 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/0.4475, allocations: 1.936 MB / 0.7008 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.4476, allocations: 7.969 kB / 0.7008 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4476, allocations: 0 / 0.7008 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.4481, allocations: 259.8 kB / 0.701 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.4483, allocations: 24 kB / 0.7011 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.4494, allocations: 103.8 kB / 0.7012 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.4498, allocations: 148.8 kB / 0.7013 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00512/0.4549, allocations: 1.807 MB / 0.7031 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004098/0.459, allocations: 2.167 MB / 0.7052 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001178/0.4602, allocations: 0.5544 MB / 0.7057 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001282/0.4615, allocations: 0.9037 MB / 0.7066 GB, free: 4 kB / 0.4981 GB Notification: Performance of Backend: time 3.41e-07/0.4615, allocations: 0 / 0.7066 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009305/0.4709, allocations: 4.117 MB / 0.7106 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004457/0.4753, allocations: 3.294 MB / 0.7138 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.0512/0.5266, allocations: 34.11 MB / 0.7471 GB, free: 6.355 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)