Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001735/0.001735, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05797/0.05797, allocations: 8.106 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 414.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 51.52 MB / 466 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.008858/0.1474, allocations: 5.908 MB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.1548, allocations: 2.333 MB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.1555, allocations: 20 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.1565, allocations: 317.8 kB / 474.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.1584, allocations: 0.6094 MB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.1623, allocations: 1.459 MB / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.1651, allocations: 1.299 MB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008991/0.1661, allocations: 409 kB / 478.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.167, allocations: 0.5448 MB / 478.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009015/0.1679, allocations: 0.7002 MB / 479.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.1681, allocations: 108 kB / 479.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1691, allocations: 335.8 kB / 480 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.1694, allocations: 262.9 kB / 480.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.17, allocations: 0.6101 MB / 480.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1718, allocations: 1.417 MB / 482.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1718, allocations: 0 / 482.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1718, allocations: 0 / 482.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1718, allocations: 0 / 482.3 MB, free: 1.914 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01266/0.1845, allocations: 3.154 MB / 485.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001884/0.1847, allocations: 12.03 kB / 485.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.185, allocations: 135.4 kB / 485.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.1862, allocations: 0.6793 MB / 486.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.1862, allocations: 74.38 kB / 486.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1864, allocations: 96.38 kB / 486.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.1887, allocations: 1.35 MB / 487.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1887, allocations: 0 / 487.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.1888, allocations: 40 kB / 487.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.1888, allocations: 20 kB / 487.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.1908, allocations: 1.277 MB / 489.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007627/0.1985, allocations: 5.211 MB / 494.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.2019, allocations: 3.104 MB / 497.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2033, allocations: 0.9732 MB / 498.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.2035, allocations: 37.27 kB / 498.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.2035, allocations: 67.98 kB / 498.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 5.2e-06/0.2035, allocations: 3.984 kB / 498.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02729/0.2308, allocations: 7.065 MB / 0.4937 GB, free: 9.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.231, allocations: 124.1 kB / 0.4939 GB, free: 9.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.232, allocations: 0.6447 MB / 0.4945 GB, free: 8.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.2323, allocations: 61.7 kB / 0.4946 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.2326, allocations: 342.4 kB / 0.4949 GB, free: 8.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.2331, allocations: 0.4888 MB / 0.4954 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.2336, allocations: 271.6 kB / 0.4956 GB, free: 7.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.2338, allocations: 345.9 kB / 0.4959 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.2351, allocations: 0.8591 MB / 0.4968 GB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2366, allocations: 0.9768 MB / 0.4977 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.2394, allocations: 1.932 MB / 0.4996 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/0.2394, allocations: 8.031 kB / 0.4996 GB, free: 3.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.3123/0.5518, allocations: 3.818 MB / 0.5034 GB, free: 43.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5518, allocations: 8.188 kB / 0.5034 GB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5519, allocations: 0.75 kB / 0.5034 GB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.5641, allocations: 3.934 MB / 0.5072 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.5651, allocations: 225.7 kB / 0.5074 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.5869, allocations: 11.43 MB / 0.5186 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5882, allocations: 138.8 kB / 0.5187 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5883, allocations: 56.3 kB / 0.5188 GB, free: 37.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004439/0.5887, allocations: 260.8 kB / 0.519 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.589, allocations: 108.9 kB / 0.5191 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009097/0.5981, allocations: 3.789 MB / 0.5228 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5981, allocations: 24.8 kB / 0.5229 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5981, allocations: 0 / 0.5229 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.5982, allocations: 7.781 kB / 0.5229 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009865/0.608, allocations: 5.321 MB / 0.5281 GB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.6081, allocations: 0 / 0.5281 GB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.6087, allocations: 174.5 kB / 0.5282 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009302/0.618, allocations: 2.725 MB / 0.5309 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/0.6184, allocations: 35.98 kB / 0.5309 GB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.6368, allocations: 11.24 MB / 0.5419 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6369, allocations: 3.984 kB / 0.5419 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008601/0.6455, allocations: 3.656 MB / 0.5455 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.6459, allocations: 203.3 kB / 0.5457 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.6461, allocations: 35.02 kB / 0.5457 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.647, allocations: 87.94 kB / 0.5458 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/0.6475, allocations: 126.4 kB / 0.5459 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.6476, allocations: 55.98 kB / 0.546 GB, free: 16.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.6481, allocations: 431 kB / 0.5464 GB, free: 16.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6481, allocations: 0 / 0.5464 GB, free: 16.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001449/0.6495, allocations: 0.5417 MB / 0.5469 GB, free: 15.74 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002686/0.6498, allocations: 162.4 kB / 0.547 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006263/0.6561, allocations: 3.177 MB / 0.5502 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6561, allocations: 4.656 kB / 0.5502 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.6607, allocations: 2.113 MB / 0.5522 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.6617, allocations: 134.9 kB / 0.5523 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.6648, allocations: 2.179 MB / 0.5545 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.6652, allocations: 1.091 MB / 0.5555 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.6656, allocations: 143.5 kB / 0.5557 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.6658, allocations: 91.41 kB / 0.5558 GB, free: 6.598 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6658, allocations: 4 kB / 0.5558 GB, free: 6.594 MB / 382.1 MB Notification: Performance of Templates: time 0.05548/0.7213, allocations: 37.04 MB / 0.5919 GB, free: 1.691 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)