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.004083/0.004083, allocations: 88.69 kB / 15.91 MB, free: 6.301 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.000972/0.000972, allocations: 200.1 kB / 16.83 MB, free: 6.234 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.204/1.204, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1476/0.1476, allocations: 8.087 MB / 298.7 MB, free: 2.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009884/0.0009885, allocations: 59.91 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08928, allocations: 51.51 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005502/0.09482, allocations: 6.069 MB / 418.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.09822, allocations: 2.447 MB / 421.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.09885, allocations: 20 kB / 421.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.09952, allocations: 266.7 kB / 421.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1007, allocations: 0.5828 MB / 421.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.1029, allocations: 1.441 MB / 423.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1041, allocations: 1.361 MB / 424.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.1047, allocations: 455.2 kB / 425.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.1051, allocations: 0.5252 MB / 425.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.1057, allocations: 0.6963 MB / 426.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1059, allocations: 88 kB / 426.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.1064, allocations: 319.8 kB / 426.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1066, allocations: 250.8 kB / 427 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.1071, allocations: 0.6374 MB / 427.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1084, allocations: 1.756 MB / 429.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1085, allocations: 4 kB / 429.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1085, allocations: 0 / 429.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1085, allocations: 0 / 429.4 MB, free: 9.211 MB / 366.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.01133/0.1198, allocations: 3.238 MB / 432.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1199, allocations: 8.031 kB / 432.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.1201, allocations: 135.4 kB / 432.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.1211, allocations: 0.7769 MB / 433.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.1211, allocations: 74.38 kB / 433.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.1213, allocations: 100.4 kB / 433.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1235, allocations: 1.518 MB / 435.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1235, allocations: 8.172 kB / 435.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.1236, allocations: 47.94 kB / 435.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1236, allocations: 20 kB / 435.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1256, allocations: 1.468 MB / 436.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1621/0.2877, allocations: 6.012 MB / 442.8 MB, free: 52.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.2903, allocations: 3.761 MB / 446.6 MB, free: 50.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2914, allocations: 1.098 MB / 447.7 MB, free: 49.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.2916, allocations: 38 kB / 447.7 MB, free: 49.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2916, allocations: 57.95 kB / 447.8 MB, free: 49.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=151): time 3.507e-06/0.2916, allocations: 0 / 447.8 MB, free: 49.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=151): time 0.03/0.3216, allocations: 8.282 MB / 456.1 MB, free: 47.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3217, allocations: 119.4 kB / 456.2 MB, free: 47.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.3225, allocations: 0.6656 MB / 456.8 MB, free: 47.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.3227, allocations: 61.45 kB / 456.9 MB, free: 47.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3229, allocations: 346.9 kB / 457.2 MB, free: 47.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.3232, allocations: 0.5043 MB / 457.8 MB, free: 46.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.3237, allocations: 282.5 kB / 458 MB, free: 46.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.3237, allocations: 352.9 kB / 458.4 MB, free: 46.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3249, allocations: 0.9632 MB / 459.3 MB, free: 45.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3262, allocations: 1.084 MB / 460.4 MB, free: 45.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.3287, allocations: 2.162 MB / 462.6 MB, free: 44.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3287, allocations: 1.312 kB / 462.6 MB, free: 44.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008895/0.3376, allocations: 4.118 MB / 466.7 MB, free: 42.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.3377, allocations: 10.53 kB / 466.7 MB, free: 42.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3377, allocations: 1.531 kB / 466.7 MB, free: 42.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.3478, allocations: 4.197 MB / 470.9 MB, free: 41.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.3486, allocations: 228.3 kB / 471.1 MB, free: 41.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.3679, allocations: 11.97 MB / 483.1 MB, free: 35.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.369, allocations: 145.2 kB / 483.2 MB, free: 34.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.3692, allocations: 51.05 kB / 483.3 MB, free: 34.94 MB / 366.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.0005108/0.3697, allocations: 310.1 kB / 483.6 MB, free: 34.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3699, allocations: 112.5 kB / 483.7 MB, free: 34.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/0.3791, allocations: 4.076 MB / 487.8 MB, free: 33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.3791, allocations: 15.88 kB / 487.8 MB, free: 33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3791, allocations: 5.188 kB / 487.8 MB, free: 33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.3791, allocations: 9.516 kB / 487.8 MB, free: 33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.3909, allocations: 5.996 MB / 493.8 MB, free: 30.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.3909, allocations: 3.297 kB / 493.8 MB, free: 30.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.3915, allocations: 184 kB / 494 MB, free: 30.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/0.4016, allocations: 2.89 MB / 496.9 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.4019, allocations: 31.12 kB / 496.9 MB, free: 29.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/0.4198, allocations: 11.77 MB / 0.4968 GB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4198, allocations: 0 / 0.4968 GB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/0.4282, allocations: 3.943 MB / 0.5006 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.4284, allocations: 207.3 kB / 0.5008 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.4286, allocations: 35.98 kB / 0.5008 GB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.4295, allocations: 90.28 kB / 0.5009 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/0.43, allocations: 122.4 kB / 0.501 GB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.4302, allocations: 60.86 kB / 0.5011 GB, free: 16.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005231/0.4307, allocations: 459 kB / 0.5015 GB, free: 16.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4307, allocations: 4 kB / 0.5015 GB, free: 16.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00144/0.4321, allocations: 0.5427 MB / 0.5021 GB, free: 15.91 MB / 366.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.000276/0.4324, allocations: 171.9 kB / 0.5022 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006127/0.4386, allocations: 3.373 MB / 0.5055 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.4386, allocations: 4.656 kB / 0.5055 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00465/0.4432, allocations: 2.202 MB / 0.5077 GB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.4442, allocations: 160.4 kB / 0.5078 GB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.4476, allocations: 2.845 MB / 0.5106 GB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.4481, allocations: 1.1 MB / 0.5117 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004806/0.4485, allocations: 147.6 kB / 0.5118 GB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4487, allocations: 87.41 kB / 0.5119 GB, free: 5.801 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4488, allocations: 0 / 0.5119 GB, free: 5.801 MB / 366.1 MB Notification: Performance of Templates: time 0.04534/0.4941, allocations: 38.39 MB / 0.5494 GB, free: 15.53 MB / 414.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)