Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001461, allocations: 105.8 kB / 16.45 MB, free: 6.449 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.001673/0.001673, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0643/0.0643, allocations: 8.106 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004288/0.1243, allocations: 3.34 MB / 469.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1272, allocations: 1.862 MB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1274, allocations: 8 kB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.1279, allocations: 206.7 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.1286, allocations: 325.8 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.1312, allocations: 1.295 MB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1322, allocations: 0.6531 MB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.1327, allocations: 222.9 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.133, allocations: 282.9 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.1335, allocations: 350.5 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.1336, allocations: 52 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.1343, allocations: 283.8 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1344, allocations: 131.5 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1348, allocations: 318.4 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.1357, allocations: 0.8216 MB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1357, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1358, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1358, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.007037/0.1428, allocations: 1.872 MB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1429, allocations: 12.03 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1431, allocations: 72.17 kB / 478.1 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.1437, allocations: 422.1 kB / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1437, allocations: 41.38 kB / 478.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1438, allocations: 52.38 kB / 478.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1451, allocations: 0.7142 MB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1451, allocations: 4.188 kB / 479.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.1452, allocations: 19.94 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1452, allocations: 12 kB / 479.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1462, allocations: 0.6599 MB / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.1502, allocations: 2.852 MB / 482.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.1517, allocations: 1.082 MB / 483.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.1524, allocations: 490.7 kB / 484.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/0.1525, allocations: 24.62 kB / 484.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1526, allocations: 43.22 kB / 484.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.1526, allocations: 0 / 484.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01171/0.1643, allocations: 3.206 MB / 487.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.1644, allocations: 115.4 kB / 487.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.1649, allocations: 393.3 kB / 488.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.165, allocations: 45.7 kB / 488.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1652, allocations: 205.4 kB / 488.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.1654, allocations: 248.3 kB / 488.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.1657, allocations: 154.6 kB / 488.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1659, allocations: 366.8 kB / 489.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.1666, allocations: 461.8 kB / 489.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/0.1674, allocations: 0.5248 MB / 490.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.1692, allocations: 1.025 MB / 491.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1692, allocations: 0 / 491.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005435/0.1747, allocations: 2.019 MB / 493.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1747, allocations: 6.5 kB / 493.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1747, allocations: 0 / 493.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005607/0.1803, allocations: 1.531 MB / 494.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.1809, allocations: 127.8 kB / 494.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.1925, allocations: 6.286 MB / 0.4894 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.1932, allocations: 71.41 kB / 0.4894 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.1933, allocations: 31.98 kB / 0.4895 GB, free: 14.18 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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.1936, allocations: 193.7 kB / 0.4897 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.1938, allocations: 55.34 kB / 0.4897 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/0.1988, allocations: 1.99 MB / 0.4916 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1989, allocations: 8 kB / 0.4917 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1989, allocations: 0 / 0.4917 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.1989, allocations: 3.984 kB / 0.4917 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/0.2047, allocations: 2.831 MB / 0.4944 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2047, allocations: 3.984 kB / 0.4944 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.2051, allocations: 95.91 kB / 0.4945 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005254/0.2103, allocations: 1.285 MB / 0.4958 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.2104, allocations: 19.98 kB / 0.4958 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.221, allocations: 6.201 MB / 0.5019 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2211, allocations: 0 / 0.5019 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2974/0.5185, allocations: 1.941 MB / 0.5037 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.5188, allocations: 139.5 kB / 0.5039 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.5189, allocations: 18.03 kB / 0.5039 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.5195, allocations: 45.91 kB / 0.5039 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.5198, allocations: 64.2 kB / 0.504 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.5199, allocations: 23.08 kB / 0.504 GB, free: 45.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004288/0.5204, allocations: 260.8 kB / 0.5043 GB, free: 45.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5204, allocations: 0 / 0.5043 GB, free: 45.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001103/0.5215, allocations: 287.9 kB / 0.5045 GB, free: 45.5 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 (56): * Single equations (assignments): 55 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002512/0.5217, allocations: 138.2 kB / 0.5047 GB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004312/0.5261, allocations: 1.681 MB / 0.5063 GB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5261, allocations: 1.25 kB / 0.5063 GB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.529, allocations: 1.114 MB / 0.5074 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.5295, allocations: 68.33 kB / 0.5075 GB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.5317, allocations: 1.159 MB / 0.5086 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.5322, allocations: 0.8833 MB / 0.5095 GB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.5325, allocations: 82.66 kB / 0.5095 GB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5327, allocations: 54.06 kB / 0.5096 GB, free: 43.81 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5327, allocations: 0 / 0.5096 GB, free: 43.81 MB / 382.1 MB Notification: Performance of Templates: time 0.02913/0.5618, allocations: 18.81 MB / 0.528 GB, free: 35.79 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)