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.001471/0.001471, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.147/1.147, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001563/0.001563, allocations: 115.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.03228/0.03228, allocations: 6.818 MB / 263.9 MB, free: 24.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.735e-05, allocations: 0 / 310.6 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 40.41 MB / 351 MB, free: 36.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08252/0.2881, allocations: 69.91 MB / 420.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.2883, allocations: 67.95 kB / 421 MB, free: 0.5898 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.06246/0.3508, allocations: 19.74 MB / 440.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.818e-06/0.3508, allocations: 4.938 kB / 440.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.262e-05/0.3509, allocations: 27.98 kB / 440.7 MB, free: 12.7 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.004489/0.3554, allocations: 1.588 MB / 442.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3554, allocations: 8.031 kB / 442.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.3559, allocations: 142.3 kB / 442.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.357, allocations: 0.588 MB / 443.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.3572, allocations: 177.4 kB / 443.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.3575, allocations: 76 kB / 443.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002787/0.3603, allocations: 1.38 MB / 444.7 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.3626, allocations: 1.139 MB / 445.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.3627, allocations: 5.438 kB / 445.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3628, allocations: 8 kB / 445.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3629, allocations: 35.95 kB / 445.9 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/0.3721, allocations: 4.761 MB / 450.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.3757, allocations: 2.382 MB / 453 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.377, allocations: 0.797 MB / 453.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.3772, allocations: 29.28 kB / 453.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.3786, allocations: 0.7837 MB / 454.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=159): time 3.406e-06/0.3786, allocations: 0 / 454.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01662/0.3953, allocations: 3.748 MB / 458.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3953, allocations: 68.72 kB / 458.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.3958, allocations: 333.1 kB / 458.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.396, allocations: 33.7 kB / 458.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.3963, allocations: 432.4 kB / 459.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/0.3968, allocations: 0.5003 MB / 459.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.397, allocations: 0 / 459.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3972, allocations: 387.6 kB / 460.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/0.3981, allocations: 0.5474 MB / 460.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.3993, allocations: 0.747 MB / 461.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4004, allocations: 0.631 MB / 462 MB, free: 6.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.4004, allocations: 4 kB / 462 MB, free: 6.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01729/0.4177, allocations: 3.939 MB / 466 MB, free: 2.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4177, allocations: 8 kB / 466 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4178, allocations: 7.938 kB / 466 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1756/0.5934, allocations: 3.483 MB / 469.5 MB, free: 89.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.5941, allocations: 144.7 kB / 469.6 MB, free: 89.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.6204, allocations: 11.38 MB / 481 MB, free: 85.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6216, allocations: 102.9 kB / 481.1 MB, free: 85.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.6218, allocations: 45.38 kB / 481.1 MB, free: 85.82 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: L78_1.T2.vb:VARIABLE(flow=false unit = "1" ) type: Real L78_2.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real L9.T.va:VARIABLE(flow=false unit = "1" ) type: Real L1011.T2.va:VARIABLE(flow=false unit = "1" ) type: Real T311.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T311.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real PV_4.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_4.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L7.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L56.T2.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L9.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real L7.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real T410.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T410.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real 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.0004056/0.6223, allocations: 172.2 kB / 481.3 MB, free: 85.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.6224, allocations: 82.22 kB / 481.4 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/0.6386, allocations: 3.985 MB / 485.4 MB, free: 84.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.6386, allocations: 15.97 kB / 485.4 MB, free: 84.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6387, allocations: 3.688 kB / 485.4 MB, free: 84.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/0.6387, allocations: 10.38 kB / 485.4 MB, free: 84.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.6569, allocations: 5.427 MB / 490.8 MB, free: 82.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6569, allocations: 7.594 kB / 490.8 MB, free: 82.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.6574, allocations: 100.5 kB / 490.9 MB, free: 82.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01725/0.6747, allocations: 3.38 MB / 494.3 MB, free: 82.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002953/0.675, allocations: 0 / 494.3 MB, free: 82.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.6969, allocations: 10.59 MB / 0.4931 GB, free: 75.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.697, allocations: 4.125 kB / 0.4931 GB, free: 75.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.7131, allocations: 3.907 MB / 0.4969 GB, free: 72.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.7133, allocations: 170 kB / 0.497 GB, free: 71.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.7136, allocations: 7.703 kB / 0.4971 GB, free: 71.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7147, allocations: 23.7 kB / 0.4971 GB, free: 71.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/0.7153, allocations: 137.3 kB / 0.4972 GB, free: 71.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.7155, allocations: 40.92 kB / 0.4972 GB, free: 71.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002332/0.7157, allocations: 249.9 kB / 0.4975 GB, free: 71.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7157, allocations: 0 / 0.4975 GB, free: 71.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001794/0.7175, allocations: 0.5282 MB / 0.498 GB, free: 71.07 MB / 330.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.0002312/0.7178, allocations: 109.3 kB / 0.4981 GB, free: 70.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004999/0.7228, allocations: 2.231 MB / 0.5003 GB, free: 68.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7228, allocations: 0 / 0.5003 GB, free: 68.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004045/0.7268, allocations: 1.561 MB / 0.5018 GB, free: 67.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.7279, allocations: 119.2 kB / 0.5019 GB, free: 67.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.7308, allocations: 1.548 MB / 0.5034 GB, free: 65.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.7315, allocations: 1.134 MB / 0.5045 GB, free: 64.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.7319, allocations: 84.55 kB / 0.5046 GB, free: 64.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.7321, allocations: 47.42 kB / 0.5047 GB, free: 64.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7321, allocations: 0 / 0.5047 GB, free: 64.43 MB / 330.7 MB Notification: Performance of Templates: time 0.04151/0.7736, allocations: 35.84 MB / 0.5397 GB, free: 28.74 MB / 330.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)