Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001251, allocations: 118.6 kB / 17.13 MB, free: 5.918 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.001093/0.001093, allocations: 192.2 kB / 18.06 MB, free: 5 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.27/1.27, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04376/0.04376, allocations: 8.097 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07551/0.0767, allocations: 51.52 MB / 466.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004383/0.08113, allocations: 3.85 MB / 470.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.08388, allocations: 1.96 MB / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.08424, allocations: 15.94 kB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.0848, allocations: 234.5 kB / 472.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008906/0.08571, allocations: 381.5 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.08799, allocations: 1.319 MB / 474.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008364/0.08883, allocations: 0.793 MB / 475.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.08919, allocations: 257.5 kB / 475.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.08955, allocations: 334.7 kB / 475.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.09007, allocations: 422.2 kB / 476.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.0902, allocations: 64 kB / 476.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.09073, allocations: 307.7 kB / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.09086, allocations: 159.4 kB / 476.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.09119, allocations: 378.1 kB / 477.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.09213, allocations: 0.9345 MB / 478 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09215, allocations: 0 / 478 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09216, allocations: 4 kB / 478 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.09217, allocations: 0 / 478 MB, free: 6.742 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008312/0.1005, allocations: 2.129 MB / 480.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1005, allocations: 15.89 kB / 480.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.1007, allocations: 80 kB / 480.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.1013, allocations: 485.7 kB / 480.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.1014, allocations: 49.38 kB / 480.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/0.1015, allocations: 60.38 kB / 480.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1028, allocations: 0.8391 MB / 481.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1028, allocations: 192 / 481.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.1029, allocations: 23.94 kB / 481.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1029, allocations: 12 kB / 481.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1041, allocations: 0.7809 MB / 482.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.1083, allocations: 3.315 MB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.11, allocations: 1.364 MB / 487.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.1107, allocations: 0.5896 MB / 487.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.1108, allocations: 24.95 kB / 487.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1109, allocations: 43.56 kB / 487.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.094e-06/0.1109, allocations: 0 / 487.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01466/0.1255, allocations: 3.969 MB / 491.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1256, allocations: 111.8 kB / 491.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.1261, allocations: 433.7 kB / 492.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.1263, allocations: 49.7 kB / 492.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1264, allocations: 237.4 kB / 492.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.1267, allocations: 303.5 kB / 492.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.127, allocations: 182.6 kB / 493.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1271, allocations: 378.6 kB / 493.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.1279, allocations: 0.533 MB / 494 MB, free: 6.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.1288, allocations: 0.6224 MB / 494.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.1305, allocations: 1.201 MB / 495.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1306, allocations: 3.938 kB / 495.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006138/0.1367, allocations: 2.382 MB / 498.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1367, allocations: 4 kB / 498.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1368, allocations: 0 / 498.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006634/0.1434, allocations: 1.769 MB / 500 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.144, allocations: 147.8 kB / 0.4884 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.1576, allocations: 7.367 MB / 0.4956 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.1583, allocations: 87.22 kB / 0.4957 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.1584, allocations: 39.98 kB / 0.4957 GB, free: 8.41 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.1587, allocations: 201.7 kB / 0.4959 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.1589, allocations: 71.19 kB / 0.496 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006246/0.1652, allocations: 2.323 MB / 0.4982 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1652, allocations: 12 kB / 0.4983 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1652, allocations: 3.938 kB / 0.4983 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1652, allocations: 3.984 kB / 0.4983 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/0.1723, allocations: 3.315 MB / 0.5015 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1723, allocations: 0 / 0.5015 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.1727, allocations: 115.8 kB / 0.5016 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006315/0.179, allocations: 1.492 MB / 0.5031 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.1791, allocations: 23.94 kB / 0.5031 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1702/0.3493, allocations: 7.224 MB / 0.5101 GB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3493, allocations: 0.6094 kB / 0.5101 GB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/0.3552, allocations: 2.284 MB / 0.5124 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3553, allocations: 151.3 kB / 0.5125 GB, free: 41.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3555, allocations: 20.98 kB / 0.5125 GB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.3561, allocations: 49.14 kB / 0.5126 GB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.3564, allocations: 77.72 kB / 0.5127 GB, free: 41.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.3564, allocations: 29.48 kB / 0.5127 GB, free: 41.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.3568, allocations: 301.9 kB / 0.513 GB, free: 41.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3568, allocations: 0 / 0.513 GB, free: 41.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009042/0.3577, allocations: 341.7 kB / 0.5133 GB, free: 41.63 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 (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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.358, allocations: 154.5 kB / 0.5134 GB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.3626, allocations: 1.971 MB / 0.5154 GB, free: 40.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3626, allocations: 1.125 kB / 0.5154 GB, free: 40.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003163/0.3657, allocations: 1.298 MB / 0.5166 GB, free: 40.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3663, allocations: 83.86 kB / 0.5167 GB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.3683, allocations: 1.383 MB / 0.5181 GB, free: 39.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3687, allocations: 0.9227 MB / 0.519 GB, free: 38.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3688, allocations: 62.45 kB / 0.519 GB, free: 38.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3689, allocations: 1.094 kB / 0.519 GB, free: 38.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01387/0.3827, allocations: 14.15 MB / 0.5329 GB, free: 31.1 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)