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.001336/0.001336, allocations: 118.4 kB / 17.13 MB, free: 5.91 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.001269/0.001269, allocations: 189.4 kB / 18.06 MB, free: 4.996 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.44/1.44, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05172/0.05172, allocations: 8.104 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 72.08 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09826, allocations: 51.51 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.007623/0.1059, allocations: 6.157 MB / 472.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004204/0.1101, allocations: 2.439 MB / 475.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.1106, allocations: 20 kB / 475.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.1114, allocations: 329.8 kB / 475.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1129, allocations: 0.656 MB / 476.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.1161, allocations: 1.49 MB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.1181, allocations: 1.455 MB / 479.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.1187, allocations: 349.6 kB / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.1195, allocations: 0.5994 MB / 480.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008841/0.1204, allocations: 0.747 MB / 480.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.1205, allocations: 148 kB / 481 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.1213, allocations: 391.7 kB / 481.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1216, allocations: 307 kB / 481.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.1222, allocations: 0.7037 MB / 482.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.1242, allocations: 1.818 MB / 484.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1243, allocations: 4 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1243, allocations: 0 / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1243, allocations: 0 / 484.3 MB, free: 500 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.01395/0.1382, allocations: 3.27 MB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1383, allocations: 11.89 kB / 487.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.1386, allocations: 144.1 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.1398, allocations: 0.7774 MB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1399, allocations: 78.38 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1401, allocations: 104.4 kB / 488.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.1429, allocations: 1.518 MB / 490.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1429, allocations: 4.125 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.143, allocations: 43.94 kB / 490.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.143, allocations: 20 kB / 490.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.1455, allocations: 1.472 MB / 491.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008929/0.1545, allocations: 6.004 MB / 497.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.1585, allocations: 3.574 MB / 0.4895 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.16, allocations: 0.9496 MB / 0.4904 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1601, allocations: 37.27 kB / 0.4905 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.1602, allocations: 60.09 kB / 0.4905 GB, free: 13.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.035e-06/0.1602, allocations: 4 kB / 0.4905 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03544/0.1956, allocations: 8.185 MB / 0.4985 GB, free: 5.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1957, allocations: 128.1 kB / 0.4987 GB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1969, allocations: 0.6722 MB / 0.4993 GB, free: 4.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.1972, allocations: 61.7 kB / 0.4994 GB, free: 4.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.1975, allocations: 354.7 kB / 0.4997 GB, free: 3.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.198, allocations: 0.5188 MB / 0.5002 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/0.1986, allocations: 283.6 kB / 0.5005 GB, free: 3.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1988, allocations: 349.9 kB / 0.5008 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.2004, allocations: 0.9646 MB / 0.5018 GB, free: 1.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.2021, allocations: 1.082 MB / 0.5028 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2197/0.4219, allocations: 2.155 MB / 0.5049 GB, free: 43.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4219, allocations: 1.375 kB / 0.5049 GB, free: 43.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01063/0.4325, allocations: 4.035 MB / 0.5089 GB, free: 42.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4325, allocations: 5.5 kB / 0.5089 GB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4325, allocations: 4.453 kB / 0.5089 GB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/0.4455, allocations: 4.203 MB / 0.513 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4466, allocations: 221.8 kB / 0.5132 GB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.4712, allocations: 13.14 MB / 0.526 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4724, allocations: 146.1 kB / 0.5262 GB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.4725, allocations: 55.77 kB / 0.5262 GB, free: 34.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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.000502/0.473, allocations: 305.2 kB / 0.5265 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.4732, allocations: 114 kB / 0.5266 GB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009728/0.483, allocations: 3.982 MB / 0.5305 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.483, allocations: 20 kB / 0.5305 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.483, allocations: 3.656 kB / 0.5305 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.483, allocations: 11.45 kB / 0.5305 GB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.4937, allocations: 5.899 MB / 0.5363 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4937, allocations: 0 / 0.5363 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.4942, allocations: 171.7 kB / 0.5365 GB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009647/0.5038, allocations: 2.895 MB / 0.5393 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.5041, allocations: 35.94 kB / 0.5393 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.5238, allocations: 12.92 MB / 0.5519 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5238, allocations: 4 kB / 0.5519 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008969/0.5327, allocations: 3.86 MB / 0.5557 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.533, allocations: 211.3 kB / 0.5559 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.5332, allocations: 31.94 kB / 0.556 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5343, allocations: 96.86 kB / 0.556 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.5347, allocations: 126.4 kB / 0.5562 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5348, allocations: 48 kB / 0.5562 GB, free: 6.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000534/0.5353, allocations: 463 kB / 0.5567 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5353, allocations: 0 / 0.5567 GB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001562/0.5369, allocations: 0.5544 MB / 0.5572 GB, free: 5.336 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.0003574/0.5372, allocations: 163.1 kB / 0.5573 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006968/0.5442, allocations: 3.265 MB / 0.5605 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5442, allocations: 0.6562 kB / 0.5605 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00511/0.5493, allocations: 2.14 MB / 0.5626 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5504, allocations: 143.8 kB / 0.5628 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.5548, allocations: 2.434 MB / 0.5651 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.5557, allocations: 1.096 MB / 0.5662 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.5562, allocations: 143.7 kB / 0.5663 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5565, allocations: 87.41 kB / 0.5664 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5565, allocations: 0 / 0.5664 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Templates: time 0.06427/0.6207, allocations: 41.22 MB / 0.6067 GB, free: 2.738 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)