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.0009836/0.0009835, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009944/0.0009943, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1625/0.1625, allocations: 6.934 MB / 298 MB, free: 3.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 360.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 52.07 MB / 412.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.008266/0.1397, allocations: 5.337 MB / 418 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.1434, allocations: 1.224 MB / 419.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008032/0.1443, allocations: 16 kB / 419.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.1447, allocations: 127 kB / 419.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.1462, allocations: 385.4 kB / 419.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1479, allocations: 0.8346 MB / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.1511, allocations: 1.803 MB / 422.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1524, allocations: 0.5717 MB / 422.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.1543, allocations: 0.8296 MB / 423.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.26/0.4142, allocations: 1.269 MB / 425 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005063/0.4148, allocations: 128.3 kB / 425.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.4153, allocations: 132.1 kB / 425.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.4156, allocations: 385.8 kB / 425.6 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.416, allocations: 252.6 kB / 425.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.4171, allocations: 1.389 MB / 427.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4171, allocations: 0.7031 kB / 427.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4171, allocations: 0 / 427.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.4171, allocations: 0 / 427.3 MB, free: 34.64 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.004629/0.4218, allocations: 1.733 MB / 429 MB, free: 33.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4218, allocations: 13.09 kB / 429 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.4221, allocations: 137.9 kB / 429.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.4229, allocations: 0.5867 MB / 429.8 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.423, allocations: 213.8 kB / 430 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.4232, allocations: 128.2 kB / 430.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4254, allocations: 1.385 MB / 431.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.4254, allocations: 6.812 kB / 431.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.4256, allocations: 53.86 kB / 431.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4256, allocations: 33.59 kB / 431.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.4281, allocations: 1.525 MB / 433.1 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008003/0.4361, allocations: 5.496 MB / 438.6 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4388, allocations: 2.436 MB / 441 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4399, allocations: 0.8757 MB / 441.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4401, allocations: 25.84 kB / 441.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.4413, allocations: 0.8618 MB / 442.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=159): time 3.297e-06/0.4413, allocations: 0 / 442.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.06384/0.5051, allocations: 13.38 MB / 456.2 MB, free: 28.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5052, allocations: 72.56 kB / 456.2 MB, free: 28.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.5058, allocations: 431.2 kB / 456.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.5061, allocations: 48.7 kB / 456.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.5064, allocations: 443.3 kB / 457.1 MB, free: 27.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.5068, allocations: 0.5138 MB / 457.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.5069, allocations: 28.53 kB / 457.7 MB, free: 27.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.507, allocations: 394.3 kB / 458.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.5082, allocations: 0.593 MB / 458.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.5093, allocations: 0.8159 MB / 459.5 MB, free: 26.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.5103, allocations: 0.675 MB / 460.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5103, allocations: 5.438 kB / 460.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01605/0.5264, allocations: 4.144 MB / 464.3 MB, free: 24.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.5264, allocations: 8.516 kB / 464.3 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.5265, allocations: 6.188 kB / 464.3 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.5438, allocations: 3.514 MB / 467.8 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.5446, allocations: 149.8 kB / 468 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/0.5703, allocations: 11.88 MB / 479.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5717, allocations: 139.9 kB / 480 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.5718, allocations: 52.39 kB / 480 MB, free: 15.62 MB / 350.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 ($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.0006202/0.5725, allocations: 271.3 kB / 480.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5727, allocations: 89.38 kB / 480.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.5881, allocations: 4.213 MB / 484.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.5882, allocations: 14.81 kB / 484.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5882, allocations: 2.188 kB / 484.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.773e-05/0.5883, allocations: 7.969 kB / 484.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.6055, allocations: 5.776 MB / 490.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.6055, allocations: 0 / 490.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.6062, allocations: 102.9 kB / 490.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/0.6212, allocations: 3.422 MB / 493.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/0.6217, allocations: 28 kB / 494 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02303/0.6447, allocations: 10.97 MB / 0.4931 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.6448, allocations: 8.766 kB / 0.4931 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.6607, allocations: 4.063 MB / 0.4971 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.6612, allocations: 167.8 kB / 0.4972 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.6615, allocations: 31.95 kB / 0.4973 GB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.6624, allocations: 51.98 kB / 0.4973 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006298/0.663, allocations: 138.1 kB / 0.4974 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6631, allocations: 32 kB / 0.4975 GB, free: 4.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.6635, allocations: 290.9 kB / 0.4977 GB, free: 4.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.6635, allocations: 1.859 kB / 0.4977 GB, free: 4.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002049/0.6656, allocations: 0.6001 MB / 0.4983 GB, free: 4.066 MB / 366.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 (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.0002304/0.6658, allocations: 130.5 kB / 0.4985 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005845/0.6716, allocations: 2.426 MB / 0.5008 GB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6717, allocations: 0 / 0.5008 GB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.676, allocations: 1.679 MB / 0.5025 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6774, allocations: 175.9 kB / 0.5026 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.6819, allocations: 2.504 MB / 0.5051 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.6827, allocations: 1.111 MB / 0.5062 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.6832, allocations: 95.34 kB / 0.5063 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.6834, allocations: 43.44 kB / 0.5063 GB, free: 11.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6834, allocations: 3.375 kB / 0.5063 GB, free: 11.86 MB / 382.1 MB Notification: Performance of Templates: time 0.06253/0.7459, allocations: 37.9 MB / 0.5433 GB, free: 6.098 MB / 414.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)