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.001234/0.001234, allocations: 105.9 kB / 16.45 MB, free: 6.441 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.001146/0.001146, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05704/0.05704, allocations: 8.096 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09805, allocations: 51.52 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.007276/0.1054, allocations: 5.912 MB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.1101, allocations: 2.333 MB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009891/0.1111, allocations: 20 kB / 474.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1122, allocations: 317.8 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.1142, allocations: 0.6054 MB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.1172, allocations: 1.455 MB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.1191, allocations: 1.303 MB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.1198, allocations: 409 kB / 478.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008412/0.1206, allocations: 0.5448 MB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1217, allocations: 0.7041 MB / 479.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.122, allocations: 103.9 kB / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007641/0.1228, allocations: 339.8 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.123, allocations: 262.9 kB / 480.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007447/0.1238, allocations: 0.6102 MB / 480.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1254, allocations: 1.413 MB / 482.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1255, allocations: 8 kB / 482.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1255, allocations: 0 / 482.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.629e-05/0.1255, allocations: 0 / 482.3 MB, free: 1.773 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.01311/0.1386, allocations: 3.147 MB / 485.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1387, allocations: 8.031 kB / 485.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.1393, allocations: 135.4 kB / 485.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1406, allocations: 0.6871 MB / 486.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.1407, allocations: 70.38 kB / 486.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.1409, allocations: 96.38 kB / 486.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1434, allocations: 1.342 MB / 487.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.1434, allocations: 4 kB / 487.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.1435, allocations: 40 kB / 487.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1436, allocations: 20 kB / 487.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.1458, allocations: 1.285 MB / 489.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.1529, allocations: 5.211 MB / 494.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.1558, allocations: 3.1 MB / 497.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.1572, allocations: 0.981 MB / 498.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.1573, allocations: 37.25 kB / 498.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.1574, allocations: 56.05 kB / 498.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.317e-06/0.1574, allocations: 3.938 kB / 498.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02578/0.1832, allocations: 7.069 MB / 0.4937 GB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.1833, allocations: 124.1 kB / 0.4939 GB, free: 9.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.1843, allocations: 0.6408 MB / 0.4945 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.1845, allocations: 65.7 kB / 0.4946 GB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.1848, allocations: 334.4 kB / 0.4949 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.1853, allocations: 496.6 kB / 0.4953 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/0.186, allocations: 279.5 kB / 0.4956 GB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1862, allocations: 353.9 kB / 0.4959 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.1877, allocations: 0.8552 MB / 0.4968 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.1892, allocations: 0.9729 MB / 0.4977 GB, free: 5.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.192, allocations: 1.947 MB / 0.4996 GB, free: 3.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1921, allocations: 0 / 0.4996 GB, free: 3.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.26/0.4521, allocations: 3.814 MB / 0.5034 GB, free: 43.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.4522, allocations: 5.594 kB / 0.5034 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4522, allocations: 0 / 0.5034 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/0.4645, allocations: 3.935 MB / 0.5072 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.4655, allocations: 228.3 kB / 0.5074 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/0.4877, allocations: 11.43 MB / 0.5186 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.4889, allocations: 139 kB / 0.5187 GB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4891, allocations: 59.02 kB / 0.5188 GB, free: 37.74 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.0005743/0.4897, allocations: 257.4 kB / 0.519 GB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.49, allocations: 108.3 kB / 0.5191 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009319/0.4994, allocations: 3.792 MB / 0.5228 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.4994, allocations: 23.08 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4994, allocations: 3.938 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.4994, allocations: 6.797 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5095, allocations: 5.311 MB / 0.528 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5095, allocations: 3.281 kB / 0.5281 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.51, allocations: 184.6 kB / 0.5282 GB, free: 33.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008893/0.5189, allocations: 2.726 MB / 0.5309 GB, free: 32.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.5191, allocations: 31.98 kB / 0.5309 GB, free: 32.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.5363, allocations: 11.23 MB / 0.5419 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5364, allocations: 0 / 0.5419 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007954/0.5443, allocations: 3.668 MB / 0.5455 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.5446, allocations: 203.3 kB / 0.5457 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.5448, allocations: 31.94 kB / 0.5457 GB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.5456, allocations: 95.34 kB / 0.5458 GB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.546, allocations: 126.4 kB / 0.5459 GB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5462, allocations: 55.98 kB / 0.546 GB, free: 16.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004657/0.5466, allocations: 431 kB / 0.5464 GB, free: 16.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5466, allocations: 0 / 0.5464 GB, free: 16.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001626/0.5483, allocations: 0.5388 MB / 0.5469 GB, free: 15.58 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.0002806/0.5486, allocations: 154.5 kB / 0.547 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006768/0.5553, allocations: 3.186 MB / 0.5502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5554, allocations: 0.6562 kB / 0.5502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005007/0.5604, allocations: 2.108 MB / 0.5522 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5617, allocations: 139.5 kB / 0.5523 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.5663, allocations: 2.185 MB / 0.5545 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.5671, allocations: 1.084 MB / 0.5555 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006071/0.5677, allocations: 147.5 kB / 0.5557 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.568, allocations: 91.41 kB / 0.5558 GB, free: 6.445 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.568, allocations: 3.938 kB / 0.5558 GB, free: 6.441 MB / 382.1 MB Notification: Performance of Templates: time 0.05414/0.6222, allocations: 37.03 MB / 0.5919 GB, free: 1.547 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)