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/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.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.001469/0.001469, allocations: 109.4 kB / 16.46 MB, free: 6.445 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.001446/0.001446, allocations: 190.3 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05491/0.05491, allocations: 8.093 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 51.53 MB / 466 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.008644/0.1124, allocations: 6.118 MB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.1177, allocations: 2.439 MB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1192, allocations: 20 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1204, allocations: 333.8 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1228, allocations: 0.6521 MB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.1259, allocations: 1.49 MB / 477.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.128, allocations: 1.466 MB / 478.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008792/0.1289, allocations: 0.5249 MB / 479 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009528/0.1299, allocations: 0.5994 MB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1311, allocations: 0.7509 MB / 480.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.1315, allocations: 148 kB / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1325, allocations: 383.8 kB / 480.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.133, allocations: 310.9 kB / 481.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009898/0.134, allocations: 0.696 MB / 481.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.1359, allocations: 1.819 MB / 483.7 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.136, allocations: 0 / 483.7 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.136, allocations: 0 / 483.7 MB, free: 340 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.136, allocations: 0 / 483.7 MB, free: 340 kB / 350.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.01326/0.1492, allocations: 3.232 MB / 487 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1493, allocations: 12.03 kB / 487 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.1497, allocations: 135.4 kB / 487.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.151, allocations: 0.7692 MB / 487.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.1511, allocations: 78.38 kB / 488 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1513, allocations: 100.4 kB / 488.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.1538, allocations: 1.518 MB / 489.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1538, allocations: 4.125 kB / 489.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.154, allocations: 43.94 kB / 489.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.154, allocations: 20 kB / 489.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.1563, allocations: 1.468 MB / 491.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007904/0.1642, allocations: 5.999 MB / 497.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.1679, allocations: 3.761 MB / 0.4891 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.1695, allocations: 1.102 MB / 0.4902 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.1697, allocations: 33.27 kB / 0.4902 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.1697, allocations: 67.97 kB / 0.4903 GB, free: 13.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.476e-06/0.1698, allocations: 4 kB / 0.4903 GB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03449/0.2043, allocations: 8.274 MB / 0.4984 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.2044, allocations: 120.1 kB / 0.4985 GB, free: 4.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.2056, allocations: 0.6721 MB / 0.4992 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.2058, allocations: 61.7 kB / 0.4992 GB, free: 3.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2061, allocations: 346.4 kB / 0.4995 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.2066, allocations: 0.4926 MB / 0.5 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005642/0.2072, allocations: 287.6 kB / 0.5003 GB, free: 2.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2073, allocations: 345.9 kB / 0.5006 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.2089, allocations: 0.9685 MB / 0.5016 GB, free: 1.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.2106, allocations: 1.082 MB / 0.5026 GB, free: 288 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2395/0.4501, allocations: 2.154 MB / 0.5047 GB, free: 44.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.4502, allocations: 0 / 0.5047 GB, free: 44.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01164/0.4618, allocations: 4.117 MB / 0.5088 GB, free: 42.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.4619, allocations: 5.5 kB / 0.5088 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4619, allocations: 4.594 kB / 0.5088 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/0.4755, allocations: 4.202 MB / 0.5129 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4767, allocations: 222.8 kB / 0.5131 GB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.5006, allocations: 13.12 MB / 0.5259 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5019, allocations: 141.8 kB / 0.526 GB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5021, allocations: 53.36 kB / 0.5261 GB, free: 34.49 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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0005207/0.5026, allocations: 309.2 kB / 0.5264 GB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.5028, allocations: 109.3 kB / 0.5265 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00955/0.5124, allocations: 4.072 MB / 0.5305 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5124, allocations: 24 kB / 0.5305 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5125, allocations: 0 / 0.5305 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.5125, allocations: 7.406 kB / 0.5305 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.5237, allocations: 5.988 MB / 0.5363 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5238, allocations: 0 / 0.5363 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.5243, allocations: 171.8 kB / 0.5365 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009903/0.5342, allocations: 2.893 MB / 0.5393 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.5345, allocations: 39.92 kB / 0.5394 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.5551, allocations: 12.91 MB / 0.552 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5551, allocations: 4 kB / 0.552 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/0.5643, allocations: 3.941 MB / 0.5558 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.5646, allocations: 212.6 kB / 0.556 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.5648, allocations: 27.94 kB / 0.556 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5659, allocations: 90.67 kB / 0.5561 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/0.5664, allocations: 126.4 kB / 0.5563 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5665, allocations: 55.98 kB / 0.5563 GB, free: 5.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006061/0.5671, allocations: 459 kB / 0.5567 GB, free: 5.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5671, allocations: 0 / 0.5567 GB, free: 5.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001723/0.5688, allocations: 0.5543 MB / 0.5573 GB, free: 4.512 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.0003103/0.5692, allocations: 162.6 kB / 0.5574 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007248/0.5764, allocations: 3.439 MB / 0.5608 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.5765, allocations: 0.6562 kB / 0.5608 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005843/0.5823, allocations: 2.273 MB / 0.563 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5835, allocations: 142.9 kB / 0.5632 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.588, allocations: 2.399 MB / 0.5655 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.5888, allocations: 1.099 MB / 0.5666 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006139/0.5894, allocations: 147.7 kB / 0.5667 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.5897, allocations: 87.41 kB / 0.5668 GB, free: 10.72 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5897, allocations: 0 / 0.5668 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Templates: time 0.06038/0.6501, allocations: 40.95 MB / 0.6068 GB, free: 1.906 MB / 430.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)