Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 107.7 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.001117/0.001118, allocations: 189.5 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05472/0.05472, allocations: 8.095 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 51.51 MB / 466 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.004052/0.1324, allocations: 2.1 MB / 468.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1351, allocations: 1.52 MB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.1354, allocations: 4 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.136, allocations: 151.2 kB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.1366, allocations: 155 kB / 469.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.1388, allocations: 1.081 MB / 471 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.1393, allocations: 318.4 kB / 471.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.1396, allocations: 124.2 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1399, allocations: 123.6 kB / 471.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1401, allocations: 163.2 kB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1402, allocations: 24 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.1407, allocations: 239.8 kB / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1408, allocations: 67.77 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.141, allocations: 155.2 kB / 472.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007801/0.1418, allocations: 486.6 kB / 472.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1418, allocations: 0 / 472.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1418, allocations: 0 / 472.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.1418, allocations: 0 / 472.7 MB, free: 11.49 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004222/0.1461, allocations: 1.139 MB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1461, allocations: 8.031 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1463, allocations: 36.56 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.1467, allocations: 283.7 kB / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.1468, allocations: 16.94 kB / 474.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.1468, allocations: 32.38 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.1475, allocations: 377 kB / 474.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1476, allocations: 4.188 kB / 474.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1476, allocations: 15.94 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1476, allocations: 7.938 kB / 474.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.1482, allocations: 314.1 kB / 474.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.1506, allocations: 1.435 MB / 476.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1517, allocations: 414.6 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.152, allocations: 173.3 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.1521, allocations: 12 kB / 476.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1521, allocations: 38.56 kB / 476.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/0.1521, allocations: 0 / 476.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004198/0.1563, allocations: 1.251 MB / 478.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.1564, allocations: 114.7 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.1566, allocations: 220.1 kB / 478.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.1567, allocations: 37.7 kB / 478.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1568, allocations: 160.4 kB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.1569, allocations: 102.5 kB / 478.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1571, allocations: 82.11 kB / 478.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1573, allocations: 342.7 kB / 479.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.1576, allocations: 204.8 kB / 479.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.1581, allocations: 252.2 kB / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.1589, allocations: 465.1 kB / 480.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1589, allocations: 0 / 480.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002251/0.1612, allocations: 0.8446 MB / 481 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1612, allocations: 8 kB / 481 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1612, allocations: 0 / 481 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.1634, allocations: 441.2 kB / 481.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1637, allocations: 71.89 kB / 481.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/0.1692, allocations: 4.137 MB / 485.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.1696, allocations: 39.53 kB / 485.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.1697, allocations: 15.98 kB / 485.7 MB, free: 13.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.1699, allocations: 157.7 kB / 485.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.17, allocations: 23.78 kB / 485.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.1722, allocations: 0.7753 MB / 486.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1722, allocations: 4 kB / 486.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1722, allocations: 7.938 kB / 486.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1722, allocations: 3.984 kB / 486.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.1728, allocations: 448.8 kB / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1728, allocations: 0 / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.173, allocations: 35.98 kB / 487.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.1751, allocations: 445.4 kB / 487.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.1751, allocations: 11.98 kB / 487.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.1807, allocations: 4.126 MB / 491.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1807, allocations: 3.984 kB / 491.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.1829, allocations: 0.8127 MB / 492.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.183, allocations: 112.6 kB / 492.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.183, allocations: 8 kB / 492.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1833, allocations: 15.98 kB / 492.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.1834, allocations: 23.97 kB / 492.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1834, allocations: 12 kB / 492.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1836, allocations: 160.5 kB / 492.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1836, allocations: 0 / 492.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000581/0.1842, allocations: 131.8 kB / 492.9 MB, free: 6.086 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.1844, allocations: 115.2 kB / 493.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.1864, allocations: 0.8083 MB / 493.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1864, allocations: 0 / 493.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.1877, allocations: 0.5642 MB / 494.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.188, allocations: 27.7 kB / 494.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1892, allocations: 0.5835 MB / 495 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1896, allocations: 0.7688 MB / 495.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1898, allocations: 33.92 kB / 495.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.1898, allocations: 31.42 kB / 495.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1898, allocations: 0 / 495.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01214/0.202, allocations: 6.747 MB / 0.4908 GB, free: 12.32 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)