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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 180.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.7 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 92.84 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05555/0.05555, allocations: 8.087 MB / 350.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 16.98 kB / 413.1 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 52.52 MB / 465.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4509, allocations: 81.64 MB / 0.5344 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4512, allocations: 74.81 kB / 0.5345 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08115/0.5323, allocations: 33.44 MB / 0.5672 GB, free: 27.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5324, allocations: 4 kB / 0.5672 GB, free: 27.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.5325, allocations: 22.03 kB / 0.5672 GB, free: 27.95 MB / 378.7 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.007986/0.5405, allocations: 2.059 MB / 0.5692 GB, free: 26.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5406, allocations: 9 kB / 0.5692 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/0.5415, allocations: 132.8 kB / 0.5693 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.5435, allocations: 0.7237 MB / 0.57 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.5436, allocations: 59.47 kB / 0.5701 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.5439, allocations: 78.28 kB / 0.5702 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5464, allocations: 1.342 MB / 0.5715 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5464, allocations: 0 / 0.5715 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.5466, allocations: 43.31 kB / 0.5715 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.5466, allocations: 20.38 kB / 0.5715 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.5488, allocations: 1.277 MB / 0.5728 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00923/0.558, allocations: 5.587 MB / 0.5782 GB, free: 22.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.5614, allocations: 3.099 MB / 0.5813 GB, free: 20.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.5617, allocations: 124.1 kB / 0.5814 GB, free: 20.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/0.5618, allocations: 61.36 kB / 0.5814 GB, free: 20.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 4.017e-06/0.5618, allocations: 0 / 0.5814 GB, free: 20.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.02849/0.5903, allocations: 7.341 MB / 0.5886 GB, free: 17.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.5905, allocations: 118.9 kB / 0.5887 GB, free: 17.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.5919, allocations: 0.5841 MB / 0.5893 GB, free: 17.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.5923, allocations: 57.67 kB / 0.5894 GB, free: 17.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.5925, allocations: 346.5 kB / 0.5897 GB, free: 17.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.5931, allocations: 497.3 kB / 0.5902 GB, free: 16.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.5932, allocations: 22.75 kB / 0.5902 GB, free: 16.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5934, allocations: 355.4 kB / 0.5905 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.5946, allocations: 0.7155 MB / 0.5912 GB, free: 16.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5957, allocations: 0.8081 MB / 0.592 GB, free: 15.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.5969, allocations: 0.7912 MB / 0.5928 GB, free: 15.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5969, allocations: 0 / 0.5928 GB, free: 15.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008866/0.6058, allocations: 3.438 MB / 0.5961 GB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6058, allocations: 9.938 kB / 0.5961 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6059, allocations: 0 / 0.5961 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009439/0.6153, allocations: 2.741 MB / 0.5988 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.616, allocations: 151.4 kB / 0.599 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.6355, allocations: 10.77 MB / 0.6095 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.6368, allocations: 90.27 kB / 0.6096 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.6369, allocations: 42.98 kB / 0.6096 GB, free: 5.129 MB / 378.7 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0005528/0.6375, allocations: 248.2 kB / 0.6099 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.6377, allocations: 116.5 kB / 0.61 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/0.6473, allocations: 3.796 MB / 0.6137 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.6473, allocations: 16 kB / 0.6137 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6474, allocations: 3.953 kB / 0.6137 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.6474, allocations: 7.969 kB / 0.6137 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.6601, allocations: 5.59 MB / 0.6192 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.6602, allocations: 0 / 0.6192 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.6609, allocations: 187.7 kB / 0.6193 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009513/0.6704, allocations: 2.244 MB / 0.6215 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/0.6707, allocations: 35.97 kB / 0.6216 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.6901, allocations: 10.59 MB / 0.6319 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6902, allocations: 0 / 0.6319 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009906/0.7001, allocations: 3.652 MB / 0.6355 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.7007, allocations: 215.2 kB / 0.6357 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.701, allocations: 35.98 kB / 0.6357 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7021, allocations: 99.94 kB / 0.6358 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/0.7026, allocations: 130.3 kB / 0.6359 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.7027, allocations: 47.98 kB / 0.636 GB, free: 10.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008099/0.7035, allocations: 487 kB / 0.6364 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7036, allocations: 0 / 0.6364 GB, free: 10.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001888/0.7055, allocations: 0.5349 MB / 0.637 GB, free: 9.879 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003521/0.7058, allocations: 167.7 kB / 0.6371 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005671/0.7115, allocations: 2.645 MB / 0.6397 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7115, allocations: 4.656 kB / 0.6397 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004265/0.7158, allocations: 1.834 MB / 0.6415 GB, free: 5.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.7167, allocations: 123.4 kB / 0.6416 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.7202, allocations: 2.402 MB / 0.644 GB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.7208, allocations: 1.101 MB / 0.645 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.7214, allocations: 139.5 kB / 0.6452 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.7216, allocations: 91.39 kB / 0.6453 GB, free: 1.297 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7216, allocations: 0 / 0.6453 GB, free: 1.297 MB / 410.7 MB Notification: Performance of Templates: time 0.04708/0.7687, allocations: 34.33 MB / 0.6788 GB, free: 15.07 MB / 458.7 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)