Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.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/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/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/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) 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(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008536/0.0008534, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007303/0.007303, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1806/0.1806, allocations: 6.912 MB / 298.3 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 8 kB / 361.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 52.06 MB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.006782/0.1418, allocations: 5.678 MB / 418.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.1452, allocations: 1.231 MB / 420.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1466, allocations: 12 kB / 420.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.1473, allocations: 123 kB / 420.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1494, allocations: 389.5 kB / 420.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.151, allocations: 0.8971 MB / 421.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003014/0.1541, allocations: 1.955 MB / 423.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1551, allocations: 0.6453 MB / 424.2 MB, free: 148 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2877/0.4428, allocations: 0.8315 MB / 425 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.4462, allocations: 1.263 MB / 426.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006196/0.4469, allocations: 130.5 kB / 426.4 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.4474, allocations: 128.9 kB / 426.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.4479, allocations: 393.5 kB / 426.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009882/0.4489, allocations: 0.7232 MB / 427.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.4507, allocations: 1.759 MB / 429.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4508, allocations: 0 / 429.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4508, allocations: 0.5312 kB / 429.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4508, allocations: 0 / 429.4 MB, free: 34.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004903/0.4557, allocations: 1.712 MB / 431.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4558, allocations: 9.781 kB / 431.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.4561, allocations: 142.2 kB / 431.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000788/0.4569, allocations: 0.6068 MB / 431.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.4571, allocations: 221.8 kB / 432.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.4573, allocations: 127.7 kB / 432.2 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.4597, allocations: 1.396 MB / 433.6 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.4598, allocations: 3.938 kB / 433.6 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.46, allocations: 53.81 kB / 433.6 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.46, allocations: 34 kB / 433.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.4627, allocations: 1.538 MB / 435.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00915/0.4718, allocations: 5.497 MB / 440.7 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.475, allocations: 2.447 MB / 443.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.4762, allocations: 0.8795 MB / 444 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.4764, allocations: 23.23 kB / 444.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.4777, allocations: 0.8612 MB / 444.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=159): time 4.709e-06/0.4777, allocations: 3.094 kB / 444.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.07385/0.5516, allocations: 13.62 MB / 458.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.5517, allocations: 71.91 kB / 458.6 MB, free: 26.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.5523, allocations: 441.2 kB / 459 MB, free: 26.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00041/0.5528, allocations: 52.55 kB / 459.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.553, allocations: 436.2 kB / 459.5 MB, free: 25.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004805/0.5535, allocations: 0.5161 MB / 460 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.5537, allocations: 112.9 kB / 460.2 MB, free: 25.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5538, allocations: 338.4 kB / 460.5 MB, free: 25.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.555, allocations: 0.5974 MB / 461.1 MB, free: 24.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.5563, allocations: 0.8206 MB / 461.9 MB, free: 24.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.5589, allocations: 1.513 MB / 463.4 MB, free: 23.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5589, allocations: 1.219 kB / 463.4 MB, free: 23.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01837/0.5773, allocations: 4.174 MB / 467.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.5773, allocations: 9.094 kB / 467.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.5774, allocations: 7.531 kB / 467.6 MB, free: 22.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01984/0.5972, allocations: 3.516 MB / 471.1 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.5981, allocations: 152.9 kB / 471.3 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0267/0.6248, allocations: 11.83 MB / 483.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.6263, allocations: 137.9 kB / 483.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6264, allocations: 51.78 kB / 483.3 MB, free: 12.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 (PV_4.online,PV_3.online,PV_2.online,PV_1.online,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(20,76)} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.627, allocations: 277.2 kB / 483.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6272, allocations: 86.56 kB / 483.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/0.645, allocations: 4.227 MB / 487.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.6451, allocations: 16 kB / 487.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6451, allocations: 0 / 487.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/0.6452, allocations: 15.91 kB / 487.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/0.6657, allocations: 5.791 MB / 493.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.6658, allocations: 0.8438 kB / 493.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.6665, allocations: 103.5 kB / 493.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01758/0.6841, allocations: 3.429 MB / 497.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004794/0.6846, allocations: 24 kB / 497.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02544/0.7101, allocations: 10.99 MB / 0.4963 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7101, allocations: 0 / 0.4963 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.7273, allocations: 4.084 MB / 0.5003 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.7278, allocations: 175.8 kB / 0.5005 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/0.7282, allocations: 24 kB / 0.5005 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.7293, allocations: 59.81 kB / 0.5006 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/0.73, allocations: 134.1 kB / 0.5007 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/0.7301, allocations: 39.98 kB / 0.5007 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003745/0.7305, allocations: 298.9 kB / 0.501 GB, free: 288 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7305, allocations: 4 kB / 0.501 GB, free: 284 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.002091/0.7326, allocations: 0.5967 MB / 0.5016 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(20,74)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.7329, allocations: 127.1 kB / 0.5017 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.7389, allocations: 2.425 MB / 0.5041 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7389, allocations: 0 / 0.5041 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/0.7434, allocations: 1.688 MB / 0.5057 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7447, allocations: 171.9 kB / 0.5059 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.7486, allocations: 2.637 MB / 0.5085 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.7494, allocations: 1.107 MB / 0.5096 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.7498, allocations: 91.41 kB / 0.5096 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.75, allocations: 47.44 kB / 0.5097 GB, free: 7.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.084e-06/0.75, allocations: 3.938 kB / 0.5097 GB, free: 7.305 MB / 382.1 MB Notification: Performance of Templates: time 0.06315/0.8131, allocations: 38.81 MB / 0.5476 GB, free: 0.625 MB / 414.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe 2>&1)