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.007881/0.007881, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.525/1.525, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001786/0.001786, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.02981/0.02981, allocations: 6.93 MB / 272.6 MB, free: 11.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 12 kB / 323.5 MB, free: 59.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09831, allocations: 40.42 MB / 363.9 MB, free: 18.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.451, allocations: 70.66 MB / 434.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4513, allocations: 70.16 kB / 434.6 MB, free: 15.11 MB / 282.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.0541/0.5054, allocations: 19.92 MB / 454.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5054, allocations: 0 / 454.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.5054, allocations: 23.25 kB / 454.6 MB, free: 7.875 MB / 282.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.003923/0.5094, allocations: 1.66 MB / 456.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5094, allocations: 7.844 kB / 456.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.5097, allocations: 146.8 kB / 456.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.5105, allocations: 0.587 MB / 457 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.5106, allocations: 213.5 kB / 457.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5108, allocations: 134.4 kB / 457.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.5128, allocations: 1.346 MB / 458.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.5129, allocations: 4 kB / 458.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.513, allocations: 58.02 kB / 458.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.5131, allocations: 38.92 kB / 458.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.5153, allocations: 1.489 MB / 460.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008113/0.5235, allocations: 4.973 MB / 465.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.5266, allocations: 2.47 MB / 467.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.5267, allocations: 28.73 kB / 467.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.5279, allocations: 0.8414 MB / 468.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=159): time 5.37e-06/0.5279, allocations: 0 / 468.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of matching and sorting (n=159): time 0.06649/0.5944, allocations: 12.44 MB / 481 MB, free: 4.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5946, allocations: 68.72 kB / 481.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.5954, allocations: 377.1 kB / 481.4 MB, free: 4.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/0.5958, allocations: 49.7 kB / 481.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.5961, allocations: 440.4 kB / 481.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.5967, allocations: 0.5146 MB / 482.4 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.5968, allocations: 32 kB / 482.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.597, allocations: 394.7 kB / 482.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.598, allocations: 0.5857 MB / 483.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.5992, allocations: 0.8015 MB / 484.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6003, allocations: 0.6703 MB / 484.9 MB, free: 480 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.6003, allocations: 0 / 484.9 MB, free: 480 kB / 298.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01801/0.6184, allocations: 4.141 MB / 489 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.6185, allocations: 8 kB / 489 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.6185, allocations: 7.984 kB / 489 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01933/0.6378, allocations: 3.519 MB / 492.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.6386, allocations: 139.8 kB / 492.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/0.6683, allocations: 12.24 MB / 0.4931 GB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.67, allocations: 130.8 kB / 0.4932 GB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/0.6704, allocations: 48 kB / 0.4933 GB, free: 12.1 MB / 330.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.00101/0.6714, allocations: 277.5 kB / 0.4935 GB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.6717, allocations: 95 kB / 0.4936 GB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/0.6896, allocations: 4.186 MB / 0.4977 GB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.6897, allocations: 16 kB / 0.4977 GB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6897, allocations: 0 / 0.4977 GB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/0.6897, allocations: 7.969 kB / 0.4977 GB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/0.7125, allocations: 5.756 MB / 0.5034 GB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/0.7126, allocations: 0 / 0.5034 GB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.7132, allocations: 95.89 kB / 0.5035 GB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0196/0.7329, allocations: 3.422 MB / 0.5068 GB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005405/0.7335, allocations: 31.98 kB / 0.5068 GB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03122/0.7647, allocations: 11.41 MB / 0.518 GB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7648, allocations: 4 kB / 0.518 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/0.7832, allocations: 4.069 MB / 0.5219 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.7836, allocations: 171.7 kB / 0.5221 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/0.7842, allocations: 31.98 kB / 0.5221 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.7857, allocations: 51.89 kB / 0.5222 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009376/0.7866, allocations: 134.1 kB / 0.5223 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/0.7869, allocations: 40 kB / 0.5224 GB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000493/0.7874, allocations: 290.9 kB / 0.5226 GB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7874, allocations: 0 / 0.5226 GB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002794/0.7902, allocations: 0.6006 MB / 0.5232 GB, free: 13.19 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.0004078/0.7906, allocations: 135.1 kB / 0.5233 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006533/0.7972, allocations: 2.41 MB / 0.5257 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.7972, allocations: 4 kB / 0.5257 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004719/0.802, allocations: 1.685 MB / 0.5274 GB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.803, allocations: 150.7 kB / 0.5275 GB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.8076, allocations: 2.523 MB / 0.53 GB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/0.8085, allocations: 1.126 MB / 0.5311 GB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.809, allocations: 87.42 kB / 0.5311 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.8091, allocations: 47.38 kB / 0.5312 GB, free: 4.941 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.8091, allocations: 0 / 0.5312 GB, free: 4.941 MB / 362.7 MB Notification: Performance of Templates: time 0.2429/1.052, allocations: 37.79 MB / 0.5681 GB, free: 118.5 MB / 378.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)