Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.conf.json Using package ObjectStab with version 1.1 Dev (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003747/0.003747, allocations: 352.5 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.464/3.464, allocations: 341.5 MB / 358.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003513/0.003513, allocations: 217.2 kB / 397.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo): time 0.08709/0.08709, allocations: 13.86 MB / 451.2 MB, free: 174.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.000475, allocations: 12 kB / 0.4903 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.0774, allocations: 40.43 MB / 0.5298 GB, free: 83.54 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.006847/0.0843, allocations: 5.353 MB / 0.535 GB, free: 78.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.08794, allocations: 1.224 MB / 0.5362 GB, free: 76.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.08916, allocations: 16 kB / 0.5362 GB, free: 76.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.08955, allocations: 130.9 kB / 0.5364 GB, free: 76.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.09134, allocations: 381.5 kB / 0.5367 GB, free: 76.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.09301, allocations: 0.8269 MB / 0.5375 GB, free: 75.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.09591, allocations: 1.803 MB / 0.5393 GB, free: 73.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.09706, allocations: 0.5639 MB / 0.5398 GB, free: 73.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.09871, allocations: 0.8179 MB / 0.5406 GB, free: 72.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.1011, allocations: 1.285 MB / 0.5419 GB, free: 71.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005389/0.1017, allocations: 128 kB / 0.542 GB, free: 70.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.1022, allocations: 128 kB / 0.5421 GB, free: 70.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.1028, allocations: 378.7 kB / 0.5425 GB, free: 70.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.1032, allocations: 253.1 kB / 0.5427 GB, free: 70.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.105, allocations: 1.391 MB / 0.5441 GB, free: 68.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.105, allocations: 4 kB / 0.5441 GB, free: 68.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.105, allocations: 0 / 0.5441 GB, free: 68.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.1051, allocations: 0 / 0.5441 GB, free: 68.82 MB / 362.7 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.008832/0.1139, allocations: 1.741 MB / 0.5458 GB, free: 67.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.114, allocations: 11.97 kB / 0.5458 GB, free: 67.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005923/0.1146, allocations: 138.4 kB / 0.5459 GB, free: 66.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.1157, allocations: 0.5936 MB / 0.5465 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.1159, allocations: 213.5 kB / 0.5467 GB, free: 66.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/0.1163, allocations: 128 kB / 0.5468 GB, free: 65.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/0.1199, allocations: 1.386 MB / 0.5482 GB, free: 64.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.1199, allocations: 4 kB / 0.5482 GB, free: 64.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.1202, allocations: 48 kB / 0.5482 GB, free: 64.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.1202, allocations: 32 kB / 0.5483 GB, free: 64.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.1245, allocations: 1.525 MB / 0.5498 GB, free: 62.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.14, allocations: 5.511 MB / 0.5552 GB, free: 57.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/0.1451, allocations: 2.429 MB / 0.5575 GB, free: 54.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.1475, allocations: 0.8749 MB / 0.5584 GB, free: 53.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.1478, allocations: 25.28 kB / 0.5584 GB, free: 53.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.1499, allocations: 0.8565 MB / 0.5592 GB, free: 52.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=159): time 6.142e-06/0.15, allocations: 4 kB / 0.5592 GB, free: 52.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=159): time 0.1419/0.2919, allocations: 13.39 MB / 0.5723 GB, free: 39.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.292, allocations: 68.72 kB / 0.5724 GB, free: 39.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.2927, allocations: 433.9 kB / 0.5728 GB, free: 38.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003668/0.293, allocations: 53.7 kB / 0.5728 GB, free: 38.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.2933, allocations: 440.4 kB / 0.5733 GB, free: 38.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/0.2938, allocations: 0.512 MB / 0.5738 GB, free: 37.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.294, allocations: 28 kB / 0.5738 GB, free: 37.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2942, allocations: 394.7 kB / 0.5742 GB, free: 37.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.2958, allocations: 0.5936 MB / 0.5747 GB, free: 36.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.2975, allocations: 0.8132 MB / 0.5755 GB, free: 35.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.2993, allocations: 0.6781 MB / 0.5762 GB, free: 35.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.2994, allocations: 0 / 0.5762 GB, free: 35.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.03015/0.3295, allocations: 4.146 MB / 0.5803 GB, free: 31.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3296, allocations: 8 kB / 0.5803 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3296, allocations: 8 kB / 0.5803 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0335/0.3631, allocations: 3.52 MB / 0.5837 GB, free: 27.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3644, allocations: 151.7 kB / 0.5839 GB, free: 27.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04382/0.4082, allocations: 11.87 MB / 0.5954 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.4103, allocations: 134.7 kB / 0.5956 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.4105, allocations: 52 kB / 0.5956 GB, free: 15.14 MB / 362.7 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 ($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 initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 76} Notification: Performance of prepare postOptimizeDAE: time 0.0007286/0.4112, allocations: 269.6 kB / 0.5959 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.4115, allocations: 90.88 kB / 0.596 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02987/0.4414, allocations: 4.213 MB / 0.6001 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.4415, allocations: 7.969 kB / 0.6001 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4415, allocations: 0 / 0.6001 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.4418, allocations: 175.6 kB / 0.6003 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.4423, allocations: 28 kB / 0.6003 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.444, allocations: 55.97 kB / 0.6003 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007262/0.4447, allocations: 204.9 kB / 0.6005 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01943/0.4642, allocations: 3.034 MB / 0.6035 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006448/0.4707, allocations: 2.423 MB / 0.6059 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001841/0.4726, allocations: 0.6038 MB / 0.6065 GB, free: 3.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004047/0.473, allocations: 298.9 kB / 0.6067 GB, free: 3.688 MB / 362.7 MB Notification: Performance of Backend: time 4.51e-07/0.473, allocations: 0 / 0.6067 GB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008213/0.4812, allocations: 1.922 MB / 0.6086 GB, free: 1.746 MB / 362.7 MB Notification: Performance of SimCode: time 0.2416/0.7229, allocations: 3.252 MB / 0.6118 GB, free: 116.4 MB / 362.7 MB Notification: Performance of Templates: time 0.0734/0.7964, allocations: 29.58 MB / 0.6407 GB, free: 106.2 MB / 362.7 MB