Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.000879, allocations: 92.42 kB / 16.71 MB, free: 6.645 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.0009478/0.0009479, allocations: 175.3 kB / 17.62 MB, free: 6.156 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.548/1.548, allocations: 223.3 MB / 241.7 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04939/0.04939, allocations: 8.098 MB / 300.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003501, allocations: 8 kB / 364.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.003784/0.2135, allocations: 5.599 MB / 422.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.2169, allocations: 2.414 MB / 424.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.2181, allocations: 16 kB / 424.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000929/0.2191, allocations: 278.7 kB / 425 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.2209, allocations: 0.579 MB / 425.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.2235, allocations: 1.41 MB / 427 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.2252, allocations: 1.353 MB / 428.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006556/0.2259, allocations: 447.3 kB / 428.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.2266, allocations: 0.4939 MB / 429.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.2274, allocations: 0.6533 MB / 429.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.2277, allocations: 64 kB / 430 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.2285, allocations: 295.8 kB / 430.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.2287, allocations: 222.9 kB / 430.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.2294, allocations: 0.6235 MB / 431.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2306, allocations: 1.379 MB / 432.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2307, allocations: 7.984 kB / 432.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2307, allocations: 3.938 kB / 432.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.111e-05/0.2307, allocations: 0 / 432.5 MB, free: 8.973 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01201/0.2427, allocations: 3.026 MB / 435.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2428, allocations: 15.97 kB / 435.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.2432, allocations: 139.3 kB / 435.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2443, allocations: 0.7692 MB / 436.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.2444, allocations: 74.38 kB / 436.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.2446, allocations: 100.4 kB / 436.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.2469, allocations: 1.518 MB / 438.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.247, allocations: 192 / 438.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.2471, allocations: 47.94 kB / 438.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2471, allocations: 24 kB / 438.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.2491, allocations: 1.468 MB / 439.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008191/0.2573, allocations: 6.054 MB / 445.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.261, allocations: 3.757 MB / 449.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.2628, allocations: 1.094 MB / 450.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.2629, allocations: 41.27 kB / 450.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.263, allocations: 56.09 kB / 450.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.486e-06/0.263, allocations: 0 / 450.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03575/0.2988, allocations: 8.262 MB / 458.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.2989, allocations: 120.1 kB / 459 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3, allocations: 0.6721 MB / 459.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.3003, allocations: 57.7 kB / 459.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.3006, allocations: 354.2 kB / 460.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/0.3012, allocations: 0.4927 MB / 460.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.3015, allocations: 145.6 kB / 460.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3016, allocations: 357.9 kB / 461.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.3032, allocations: 0.9568 MB / 462 MB, free: 10.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.305, allocations: 1.082 MB / 463.1 MB, free: 9.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.3084, allocations: 2.162 MB / 465.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3084, allocations: 0 / 465.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01142/0.3198, allocations: 4.127 MB / 469.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3199, allocations: 4 kB / 469.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3199, allocations: 0 / 469.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01281/0.3327, allocations: 4.216 MB / 473.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.3339, allocations: 223.7 kB / 473.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/0.3583, allocations: 11.98 MB / 485.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3596, allocations: 138.5 kB / 486 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.3599, allocations: 51.98 kB / 486 MB, free: 2.219 MB / 350.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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0006503/0.3605, allocations: 306.1 kB / 486.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.3608, allocations: 106.7 kB / 486.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.3722, allocations: 4.086 MB / 490.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.3723, allocations: 19.98 kB / 490.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3723, allocations: 4 kB / 490.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.3723, allocations: 7.969 kB / 490.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.3858, allocations: 6.011 MB / 496.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.3859, allocations: 0 / 496.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.3866, allocations: 171.8 kB / 496.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/0.3985, allocations: 2.907 MB / 499.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/0.3989, allocations: 39.92 kB / 499.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/0.4229, allocations: 11.74 MB / 0.4994 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4229, allocations: 0 / 0.4994 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.4341, allocations: 3.952 MB / 0.5033 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.4345, allocations: 211.2 kB / 0.5035 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.4348, allocations: 32 kB / 0.5035 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.4361, allocations: 109.4 kB / 0.5036 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.4366, allocations: 130.3 kB / 0.5037 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.4367, allocations: 51.98 kB / 0.5038 GB, free: 4.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007138/0.4375, allocations: 459 kB / 0.5042 GB, free: 3.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4375, allocations: 3.938 kB / 0.5042 GB, free: 3.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001676/0.4391, allocations: 0.5582 MB / 0.5048 GB, free: 3.07 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 (105): * Single equations (assignments): 104 * 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,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.4395, allocations: 159.7 kB / 0.5049 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1724/0.6119, allocations: 3.349 MB / 0.5082 GB, free: 91.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/0.612, allocations: 2.969 kB / 0.5082 GB, free: 91.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0064/0.6184, allocations: 2.204 MB / 0.5103 GB, free: 91.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6194, allocations: 140.7 kB / 0.5105 GB, free: 91.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.6231, allocations: 2.906 MB / 0.5133 GB, free: 90.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.6237, allocations: 1.1 MB / 0.5144 GB, free: 89.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.624, allocations: 101.2 kB / 0.5145 GB, free: 89.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6241, allocations: 0 / 0.5145 GB, free: 89.48 MB / 382.1 MB Notification: Performance of Templates: time 0.02995/0.654, allocations: 25.1 MB / 0.539 GB, free: 71.89 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)