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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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") 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/Complex 3.2.1+maint.om/package.mo): time 0.001068/0.001069, allocations: 169.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.137/1.137, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001499/0.001499, allocations: 111.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.02583/0.02583, allocations: 6.803 MB / 269.2 MB, free: 20.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.995e-05, allocations: 4 kB / 317.5 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 40.41 MB / 358 MB, free: 34.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08317/0.2846, allocations: 70.58 MB / 428.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.2849, allocations: 63.97 kB / 428.6 MB, free: 11.7 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/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.05938/0.3443, allocations: 19.94 MB / 448.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3443, allocations: 0 / 448.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.585e-05/0.3444, allocations: 24 kB / 448.6 MB, free: 7.605 MB / 314.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.003927/0.3483, allocations: 1.588 MB / 450.1 MB, free: 5.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3484, allocations: 12.03 kB / 450.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.3487, allocations: 142.3 kB / 450.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.3496, allocations: 0.5858 MB / 450.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.3498, allocations: 213.5 kB / 451.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.35, allocations: 128 kB / 451.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.3525, allocations: 1.324 MB / 452.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3525, allocations: 4 kB / 452.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.3527, allocations: 48 kB / 452.6 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.3527, allocations: 39.95 kB / 452.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.3554, allocations: 1.459 MB / 454.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2138/0.5692, allocations: 4.958 MB / 459 MB, free: 76.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.5728, allocations: 2.455 MB / 461.5 MB, free: 75.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.574, allocations: 0.8555 MB / 462.4 MB, free: 75.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.5742, allocations: 22.83 kB / 462.4 MB, free: 75.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.5755, allocations: 0.8257 MB / 463.2 MB, free: 75.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 5.43e-06/0.5755, allocations: 2.781 kB / 463.2 MB, free: 75.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01539/0.5909, allocations: 3.881 MB / 467.1 MB, free: 75.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.591, allocations: 71.78 kB / 467.2 MB, free: 75.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.5914, allocations: 377.2 kB / 467.5 MB, free: 74.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.5917, allocations: 52.36 kB / 467.6 MB, free: 74.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.5919, allocations: 434.4 kB / 468 MB, free: 74.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.5923, allocations: 0.5174 MB / 468.5 MB, free: 74.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.5923, allocations: 27.72 kB / 468.5 MB, free: 74.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.5924, allocations: 393.1 kB / 468.9 MB, free: 73.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/0.5933, allocations: 0.5674 MB / 469.5 MB, free: 73.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008817/0.5942, allocations: 0.7901 MB / 470.3 MB, free: 73.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.5951, allocations: 0.6554 MB / 470.9 MB, free: 72.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5951, allocations: 0 / 470.9 MB, free: 72.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01519/0.6103, allocations: 4.118 MB / 475.1 MB, free: 71.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.6104, allocations: 8.562 kB / 475.1 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6104, allocations: 4.531 kB / 475.1 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01683/0.6273, allocations: 3.495 MB / 478.6 MB, free: 69.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.628, allocations: 146.5 kB / 478.7 MB, free: 69.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/0.6512, allocations: 11.64 MB / 490.4 MB, free: 58.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.6524, allocations: 134.7 kB / 490.5 MB, free: 58.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.6525, allocations: 51.98 kB / 490.5 MB, free: 58.68 MB / 314.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 () * 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.0002457/0.6528, allocations: 176.9 kB / 490.7 MB, free: 58.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6529, allocations: 101.9 kB / 490.8 MB, free: 58.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.6684, allocations: 4.15 MB / 495 MB, free: 54.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.6685, allocations: 16 kB / 495 MB, free: 54.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6685, allocations: 0 / 495 MB, free: 54.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.6685, allocations: 7.969 kB / 495 MB, free: 54.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.6855, allocations: 5.721 MB / 0.489 GB, free: 48.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6856, allocations: 4 kB / 0.489 GB, free: 48.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.6861, allocations: 99.83 kB / 0.4891 GB, free: 48.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/0.7022, allocations: 3.399 MB / 0.4924 GB, free: 44.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/0.7026, allocations: 27.98 kB / 0.4924 GB, free: 44.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.7233, allocations: 10.79 MB / 0.503 GB, free: 34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7234, allocations: 0 / 0.503 GB, free: 34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.7382, allocations: 4.043 MB / 0.5069 GB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.7385, allocations: 171.8 kB / 0.5071 GB, free: 29.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/0.7389, allocations: 24 kB / 0.5071 GB, free: 29.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.7398, allocations: 67.75 kB / 0.5072 GB, free: 29.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005383/0.7404, allocations: 137.8 kB / 0.5073 GB, free: 29.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.7405, allocations: 35.94 kB / 0.5073 GB, free: 29.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.7407, allocations: 289.6 kB / 0.5076 GB, free: 29.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7407, allocations: 0 / 0.5076 GB, free: 29.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001511/0.7423, allocations: 0.5991 MB / 0.5082 GB, free: 28.61 MB / 314.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 () * 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.0002205/0.7425, allocations: 131.1 kB / 0.5083 GB, free: 28.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.7472, allocations: 2.365 MB / 0.5106 GB, free: 26.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7472, allocations: 4 kB / 0.5106 GB, free: 26.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/0.7509, allocations: 1.622 MB / 0.5122 GB, free: 24.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.7518, allocations: 159 kB / 0.5124 GB, free: 24.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.7542, allocations: 1.633 MB / 0.514 GB, free: 22.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.7547, allocations: 1.126 MB / 0.5151 GB, free: 21.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.7551, allocations: 88.59 kB / 0.5151 GB, free: 21.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.7552, allocations: 43.38 kB / 0.5152 GB, free: 21.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7552, allocations: 0 / 0.5152 GB, free: 21.39 MB / 314.7 MB Notification: Performance of Templates: time 0.05228/0.8075, allocations: 37.75 MB / 0.552 GB, free: 15.8 MB / 346.7 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)