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.002653/0.002656, allocations: 346.7 kB / 15.93 MB, free: 6.219 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.364/3.364, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.00352/0.003519, allocations: 226.1 kB / 397.9 MB, free: 4.891 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.08886/0.08886, allocations: 13.86 MB / 451.2 MB, free: 174.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004666, allocations: 16 kB / 0.4903 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08805, allocations: 40.43 MB / 0.5298 GB, free: 83.54 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.1884, allocations: 70.66 MB / 0.5988 GB, free: 12.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.1887, allocations: 67.97 kB / 0.5989 GB, free: 12.71 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd - DAE generated: time 0.3242/0.513, allocations: 19.92 MB / 0.6183 GB, free: 115.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.513, allocations: 0 / 0.6183 GB, free: 115.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.5131, allocations: 22.75 kB / 0.6183 GB, free: 115.8 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.007813/0.5209, allocations: 1.664 MB / 0.6199 GB, free: 115.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.521, allocations: 10.28 kB / 0.62 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.5219, allocations: 143.6 kB / 0.6201 GB, free: 115 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.5233, allocations: 0.588 MB / 0.6207 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.5235, allocations: 221.5 kB / 0.6209 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.5239, allocations: 131.8 kB / 0.621 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.5282, allocations: 1.363 MB / 0.6223 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.5283, allocations: 0 / 0.6223 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.5285, allocations: 54.91 kB / 0.6224 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.5286, allocations: 38.86 kB / 0.6224 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005005/0.5336, allocations: 1.488 MB / 0.6239 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.5499, allocations: 4.97 MB / 0.6287 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.5553, allocations: 2.401 MB / 0.6311 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.5577, allocations: 0.8613 MB / 0.6319 GB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.558, allocations: 28.58 kB / 0.6319 GB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/0.5602, allocations: 0.8433 MB / 0.6328 GB, free: 109.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=159): time 4.829e-06/0.5602, allocations: 0 / 0.6328 GB, free: 109.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=159): time 0.1252/0.6854, allocations: 12.38 MB / 0.6449 GB, free: 104.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.6856, allocations: 68.19 kB / 0.6449 GB, free: 104.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.6863, allocations: 431.4 kB / 0.6453 GB, free: 103.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004113/0.6867, allocations: 55.36 kB / 0.6454 GB, free: 103.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.687, allocations: 440.1 kB / 0.6458 GB, free: 103.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/0.6876, allocations: 0.5161 MB / 0.6463 GB, free: 103 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.6877, allocations: 30.22 kB / 0.6463 GB, free: 102.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6879, allocations: 395 kB / 0.6467 GB, free: 102.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.6896, allocations: 0.5833 MB / 0.6473 GB, free: 102.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.6913, allocations: 0.8127 MB / 0.6481 GB, free: 101.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.6932, allocations: 0.6706 MB / 0.6487 GB, free: 101.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6932, allocations: 0 / 0.6487 GB, free: 101.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.03091/0.7241, allocations: 4.134 MB / 0.6528 GB, free: 99.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.7242, allocations: 8.125 kB / 0.6528 GB, free: 99.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7242, allocations: 8 kB / 0.6528 GB, free: 99.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03362/0.7578, allocations: 3.518 MB / 0.6562 GB, free: 96.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.759, allocations: 143.8 kB / 0.6564 GB, free: 96.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04263/0.8017, allocations: 11.74 MB / 0.6678 GB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.8038, allocations: 134.8 kB / 0.668 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.804, allocations: 51.98 kB / 0.668 GB, free: 84.45 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.0007808/0.8047, allocations: 277.7 kB / 0.6683 GB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.805, allocations: 86.88 kB / 0.6684 GB, free: 84.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03019/0.8352, allocations: 4.179 MB / 0.6724 GB, free: 79.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.8353, allocations: 16 kB / 0.6724 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8353, allocations: 0 / 0.6724 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/0.8354, allocations: 9.75 kB / 0.6725 GB, free: 79.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03307/0.8684, allocations: 5.755 MB / 0.6781 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/0.8685, allocations: 0 / 0.6781 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/0.8695, allocations: 95.89 kB / 0.6782 GB, free: 73.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03221/0.9017, allocations: 3.419 MB / 0.6815 GB, free: 70.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004272/0.9022, allocations: 34.92 kB / 0.6815 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04052/0.9427, allocations: 10.9 MB / 0.6922 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9428, allocations: 176 / 0.6922 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02997/0.9728, allocations: 4.069 MB / 0.6962 GB, free: 55.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.9732, allocations: 171.7 kB / 0.6963 GB, free: 55.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.9737, allocations: 27.98 kB / 0.6963 GB, free: 55.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.9755, allocations: 59.88 kB / 0.6964 GB, free: 55.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007214/0.9763, allocations: 134.1 kB / 0.6965 GB, free: 54.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.9764, allocations: 36 kB / 0.6966 GB, free: 54.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004329/0.9769, allocations: 294.9 kB / 0.6968 GB, free: 54.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9769, allocations: 0 / 0.6968 GB, free: 54.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002379/0.9793, allocations: 0.589 MB / 0.6974 GB, free: 54.07 MB / 362.7 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.0003278/0.9796, allocations: 146.4 kB / 0.6976 GB, free: 53.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008951/0.9886, allocations: 2.415 MB / 0.6999 GB, free: 51.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9887, allocations: 3.938 kB / 0.6999 GB, free: 51.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007268/0.9959, allocations: 1.673 MB / 0.7016 GB, free: 49.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.9978, allocations: 177.5 kB / 0.7017 GB, free: 49.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/1.003, allocations: 2.51 MB / 0.7042 GB, free: 47.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/1.004, allocations: 1.13 MB / 0.7053 GB, free: 45.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000781/1.004, allocations: 89.06 kB / 0.7054 GB, free: 45.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.005, allocations: 43.38 kB / 0.7054 GB, free: 45.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/1.005, allocations: 0 / 0.7054 GB, free: 45.84 MB / 362.7 MB Notification: Performance of Templates: time 0.07842/1.083, allocations: 37.83 MB / 0.7423 GB, free: 8.195 MB / 362.7 MB