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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.008189/0.008188, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001154/0.001154, allocations: 187.6 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 6.937 MB / 297.5 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.89 kB / 412.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3402, allocations: 51.07 MB / 464 MB, free: 18.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.007639/0.3479, allocations: 6.067 MB / 470 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.3519, allocations: 1.212 MB / 471.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.3536, allocations: 15.25 kB / 471.2 MB, free: 13.55 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/Base/wRefContainer.mo:4:3-4:80:writable] Warning: Connector wr is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.3543, allocations: 173.6 kB / 471.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.3566, allocations: 464.9 kB / 471.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.3586, allocations: 0.9466 MB / 472.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.3629, allocations: 2.041 MB / 474.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.3643, allocations: 0.7885 MB / 475.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.3672, allocations: 1.01 MB / 476.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.371, allocations: 1.426 MB / 478.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009421/0.3719, allocations: 236.8 kB / 478.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.3727, allocations: 235.8 kB / 478.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.3733, allocations: 0.5029 MB / 479 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.3742, allocations: 0.8292 MB / 479.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.3763, allocations: 1.905 MB / 481.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3763, allocations: 4 kB / 481.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3763, allocations: 1.188 kB / 481.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.3763, allocations: 0 / 481.8 MB, free: 8.113 MB / 350.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.005778/0.3821, allocations: 1.937 MB / 483.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3822, allocations: 12.53 kB / 483.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.3826, allocations: 150.2 kB / 483.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.3834, allocations: 0.6075 MB / 484.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3836, allocations: 218.9 kB / 484.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.3838, allocations: 130.7 kB / 484.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.3863, allocations: 1.399 MB / 486.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.3863, allocations: 0 / 486.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.3865, allocations: 55.03 kB / 486.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.3865, allocations: 32.38 kB / 486.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.3893, allocations: 1.536 MB / 487.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009372/0.3987, allocations: 5.413 MB / 493.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.4022, allocations: 2.45 MB / 495.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.4035, allocations: 0.8827 MB / 496.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.4037, allocations: 21.22 kB / 496.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.4051, allocations: 0.8566 MB / 497.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=159): time 6.232e-06/0.4051, allocations: 0 / 497.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.06991/0.475, allocations: 13.62 MB / 0.4991 GB, free: 14.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4751, allocations: 72.72 kB / 0.4992 GB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/0.4758, allocations: 434 kB / 0.4996 GB, free: 14.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.4762, allocations: 53.7 kB / 0.4997 GB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.4765, allocations: 449.6 kB / 0.5001 GB, free: 13.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/0.477, allocations: 0.5461 MB / 0.5006 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/0.4775, allocations: 223.6 kB / 0.5008 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4776, allocations: 338 kB / 0.5011 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4787, allocations: 0.5975 MB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4798, allocations: 0.8263 MB / 0.5025 GB, free: 11.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.482, allocations: 1.505 MB / 0.504 GB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4821, allocations: 8 kB / 0.504 GB, free: 9.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01648/0.4985, allocations: 4.143 MB / 0.5081 GB, free: 5.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4986, allocations: 12.03 kB / 0.5081 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4986, allocations: 11.94 kB / 0.5081 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01788/0.5165, allocations: 3.472 MB / 0.5115 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.5173, allocations: 147.7 kB / 0.5116 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/0.5493, allocations: 12.9 MB / 0.5242 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.551, allocations: 131.2 kB / 0.5243 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/0.5513, allocations: 55.94 kB / 0.5244 GB, free: 4.699 MB / 398.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 (PV_4.online,PV_3.online,PV_2.online,PV_1.online,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,76)} Notification: Performance of prepare postOptimizeDAE: time 0.000909/0.5522, allocations: 273.6 kB / 0.5247 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.5526, allocations: 99.38 kB / 0.5247 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.5699, allocations: 4.197 MB / 0.5288 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.57, allocations: 16 kB / 0.5289 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.57, allocations: 4 kB / 0.5289 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/0.5701, allocations: 7.969 kB / 0.5289 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/0.5916, allocations: 5.766 MB / 0.5345 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.5916, allocations: 0 / 0.5345 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.5922, allocations: 103.8 kB / 0.5346 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01758/0.6098, allocations: 3.375 MB / 0.5379 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/0.6104, allocations: 31.94 kB / 0.5379 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02837/0.6388, allocations: 12 MB / 0.5497 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6388, allocations: 0 / 0.5497 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.6555, allocations: 4.06 MB / 0.5536 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.6559, allocations: 188.1 kB / 0.5538 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.6564, allocations: 28 kB / 0.5538 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6577, allocations: 43.92 kB / 0.5539 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000841/0.6586, allocations: 130.1 kB / 0.554 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/0.6588, allocations: 40 kB / 0.554 GB, free: 6.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.6592, allocations: 298.9 kB / 0.5543 GB, free: 5.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6592, allocations: 0 / 0.5543 GB, free: 5.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002421/0.6617, allocations: 0.5931 MB / 0.5549 GB, free: 5.156 MB / 430.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,74)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.662, allocations: 131.1 kB / 0.555 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006002/0.668, allocations: 2.486 MB / 0.5574 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6681, allocations: 4 kB / 0.5574 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/0.6724, allocations: 1.734 MB / 0.5591 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6737, allocations: 188.4 kB / 0.5593 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.678, allocations: 2.14 MB / 0.5614 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.6788, allocations: 1.107 MB / 0.5625 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003792/0.6792, allocations: 87.42 kB / 0.5626 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.6793, allocations: 47.44 kB / 0.5626 GB, free: 13.15 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6794, allocations: 0 / 0.5626 GB, free: 13.15 MB / 446.1 MB Notification: Performance of Templates: time 0.3066/0.9859, allocations: 42.12 MB / 0.6038 GB, free: 116.1 MB / 462.1 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)