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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo", uses=false) Using package ObjectStab with version 1.1 Dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001/0.001, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009509/0.0009509, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.0273/0.0273, allocations: 6.932 MB / 277.3 MB, free: 14.38 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ObjectStab requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005479/0.0005479, allocations: 24 kB / 337 MB, free: 27.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 49.23 MB / 386.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.00533/0.1119, allocations: 4.945 MB / 391.2 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1142, allocations: 1.302 MB / 392.5 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.1146, allocations: 16 kB / 392.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1148, allocations: 126.9 kB / 392.6 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000847/0.1157, allocations: 442.8 kB / 393.1 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1167, allocations: 0.8111 MB / 393.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1181, allocations: 1.319 MB / 395.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.1189, allocations: 0.5678 MB / 395.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.1198, allocations: 0.8297 MB / 396.6 MB, free: 328 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1212, allocations: 1.27 MB / 397.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.1215, allocations: 128 kB / 398 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.1217, allocations: 128 kB / 398.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.1221, allocations: 386.8 kB / 398.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.1223, allocations: 249.1 kB / 398.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1235, allocations: 1.391 MB / 400.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1235, allocations: 0 / 400.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1235, allocations: 4 kB / 400.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1235, allocations: 0 / 400.1 MB, free: 12.77 MB / 302.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.005047/0.1286, allocations: 1.732 MB / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1286, allocations: 8.031 kB / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.129, allocations: 142.3 kB / 402 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.1298, allocations: 0.5897 MB / 402.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.13, allocations: 213.5 kB / 402.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.1303, allocations: 136 kB / 402.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.1326, allocations: 1.371 MB / 404.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1326, allocations: 0 / 404.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.1328, allocations: 56 kB / 404.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.1328, allocations: 32 kB / 404.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.1354, allocations: 1.518 MB / 405.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009538/0.145, allocations: 5.511 MB / 411.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.1488, allocations: 2.513 MB / 413.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.149, allocations: 29.3 kB / 414 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.1504, allocations: 0.8487 MB / 414.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=159): time 4.789e-06/0.1504, allocations: 0 / 414.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.06946/0.2199, allocations: 13.44 MB / 428.3 MB, free: 32 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2033/0.4232, allocations: 70.34 kB / 428.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.4239, allocations: 430.1 kB / 428.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004616/0.4243, allocations: 54.83 kB / 428.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.4246, allocations: 440.6 kB / 429.2 MB, free: 45.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.425, allocations: 0.5145 MB / 429.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.4251, allocations: 30.31 kB / 429.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4253, allocations: 398.9 kB / 430.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4265, allocations: 0.5898 MB / 430.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.4276, allocations: 0.8104 MB / 431.6 MB, free: 44.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4287, allocations: 0.6733 MB / 432.2 MB, free: 43.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4287, allocations: 2.406 kB / 432.2 MB, free: 43.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01719/0.4459, allocations: 4.146 MB / 436.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.446, allocations: 11.97 kB / 436.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.446, allocations: 9.266 kB / 436.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/0.4645, allocations: 3.522 MB / 439.9 MB, free: 42.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.4653, allocations: 144.3 kB / 440.1 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.4896, allocations: 12.38 MB / 452.5 MB, free: 34.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.491, allocations: 135.3 kB / 452.6 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4912, allocations: 52 kB / 452.6 MB, free: 33.99 MB / 318.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 ($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.0006113/0.4918, allocations: 277.7 kB / 452.9 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.492, allocations: 90.86 kB / 453 MB, free: 33.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.5076, allocations: 4.207 MB / 457.2 MB, free: 29.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.5076, allocations: 16 kB / 457.2 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5076, allocations: 3.938 kB / 457.2 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.5077, allocations: 11.8 kB / 457.2 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.5245, allocations: 5.776 MB / 463 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/0.5246, allocations: 3.984 kB / 463 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.5252, allocations: 99.89 kB / 463.1 MB, free: 23.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0162/0.5414, allocations: 3.419 MB / 466.5 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005185/0.542, allocations: 28 kB / 466.6 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.5639, allocations: 11.47 MB / 478 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.564, allocations: 7.891 kB / 478 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.5786, allocations: 4.067 MB / 482.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.5789, allocations: 171.7 kB / 482.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.5792, allocations: 27.95 kB / 482.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.58, allocations: 51.89 kB / 482.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005498/0.5806, allocations: 134.1 kB / 482.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/0.5807, allocations: 44 kB / 482.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.581, allocations: 290.9 kB / 482.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.581, allocations: 0 / 482.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001609/0.5826, allocations: 0.5967 MB / 483.4 MB, free: 2.992 MB / 318.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 (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 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.5828, allocations: 131.6 kB / 483.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.5877, allocations: 2.422 MB / 486 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5877, allocations: 0 / 486 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.5918, allocations: 1.682 MB / 487.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.593, allocations: 137.7 kB / 487.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.5974, allocations: 2.528 MB / 490.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.5983, allocations: 1.13 MB / 491.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004625/0.5988, allocations: 95.36 kB / 491.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5989, allocations: 43.42 kB / 491.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.234e-06/0.5989, allocations: 0 / 491.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.05892/0.6578, allocations: 37.89 MB / 0.5171 GB, free: 4.883 MB / 366.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: