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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 186.9 kB / 16.68 MB, free: 5.082 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.366/1.366, allocations: 222.9 MB / 240.3 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009989, allocations: 108.5 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04818/0.04818, allocations: 8.087 MB / 348.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 51.23 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09659, allocations: 51.53 MB / 462.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003041/0.09968, allocations: 2.137 MB / 464.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1014, allocations: 1.512 MB / 466.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1016, allocations: 4 kB / 466.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.102, allocations: 127.5 kB / 466.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1023, allocations: 143.2 kB / 466.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1038, allocations: 1.05 MB / 467.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1041, allocations: 314.4 kB / 467.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1042, allocations: 92.11 kB / 468 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.1043, allocations: 115.6 kB / 468.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1044, allocations: 159.3 kB / 468.3 MB, free: 440 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1045, allocations: 20 kB / 468.3 MB, free: 420 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.1049, allocations: 231.8 kB / 468.5 MB, free: 188 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.1049, allocations: 59.69 kB / 468.6 MB, free: 128 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.105, allocations: 143.4 kB / 468.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.1056, allocations: 490.3 kB / 469.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1056, allocations: 0 / 469.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1056, allocations: 0 / 469.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1056, allocations: 0 / 469.2 MB, free: 15.5 MB / 314.7 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.003977/0.1096, allocations: 1.131 MB / 470.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1097, allocations: 8.031 kB / 470.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.1098, allocations: 32.56 kB / 470.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1101, allocations: 283.7 kB / 470.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.1101, allocations: 24.94 kB / 470.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.1102, allocations: 28.38 kB / 470.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.1107, allocations: 373.1 kB / 471 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1108, allocations: 192 / 471 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1108, allocations: 11.94 kB / 471.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1108, allocations: 8 kB / 471.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1113, allocations: 314.1 kB / 471.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1133, allocations: 1.454 MB / 472.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1144, allocations: 414.6 kB / 473.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.1147, allocations: 176.8 kB / 473.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.1148, allocations: 7.984 kB / 473.4 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1148, allocations: 42.55 kB / 473.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.1148, allocations: 0 / 473.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004282/0.1191, allocations: 1.249 MB / 474.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1192, allocations: 106.8 kB / 474.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1194, allocations: 224 kB / 475 MB, free: 9.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.1194, allocations: 37.7 kB / 475.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1195, allocations: 148.5 kB / 475.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.1196, allocations: 102.5 kB / 475.3 MB, free: 9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.1198, allocations: 90.11 kB / 475.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1199, allocations: 334.8 kB / 475.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.1202, allocations: 204.8 kB / 475.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.1206, allocations: 252.2 kB / 476.2 MB, free: 8.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/0.1213, allocations: 465.1 kB / 476.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1213, allocations: 8.031 kB / 476.6 MB, free: 7.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00227/0.1236, allocations: 0.8446 MB / 477.5 MB, free: 6.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1236, allocations: 4 kB / 477.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1236, allocations: 0 / 477.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.1259, allocations: 445.2 kB / 477.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1262, allocations: 67.91 kB / 478 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.1313, allocations: 3.839 MB / 481.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.1317, allocations: 43.56 kB / 481.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.1317, allocations: 24.14 kB / 481.9 MB, free: 2.098 MB / 314.7 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.0001822/0.1319, allocations: 141.8 kB / 482 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.132, allocations: 27.66 kB / 482 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.1341, allocations: 0.7863 MB / 482.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1341, allocations: 4 kB / 482.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1342, allocations: 7.922 kB / 482.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1342, allocations: 0 / 482.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1346, allocations: 441.1 kB / 483.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1346, allocations: 3.938 kB / 483.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.1348, allocations: 43.92 kB / 483.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.1368, allocations: 441.2 kB / 483.8 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1369, allocations: 4 kB / 483.8 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1908/0.3277, allocations: 3.825 MB / 487.6 MB, free: 25.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3277, allocations: 4.312 kB / 487.6 MB, free: 25.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.3304, allocations: 1.612 MB / 489.2 MB, free: 24.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3305, allocations: 115 kB / 489.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.3306, allocations: 7.75 kB / 489.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3309, allocations: 15.7 kB / 489.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.331, allocations: 28.97 kB / 489.4 MB, free: 24.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.331, allocations: 15.36 kB / 489.4 MB, free: 24.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3312, allocations: 155.9 kB / 489.5 MB, free: 24.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3312, allocations: 0 / 489.5 MB, free: 24.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000656/0.3319, allocations: 135.3 kB / 489.7 MB, free: 24.39 MB / 314.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 (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.000194/0.3321, allocations: 117.9 kB / 489.8 MB, free: 24.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.3338, allocations: 0.8109 MB / 490.6 MB, free: 23.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3339, allocations: 2.875 kB / 490.6 MB, free: 23.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.3352, allocations: 0.5621 MB / 491.1 MB, free: 23.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3355, allocations: 28.23 kB / 491.2 MB, free: 23.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3365, allocations: 0.9078 MB / 492.1 MB, free: 22.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3367, allocations: 0.7755 MB / 492.9 MB, free: 22.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3369, allocations: 40.75 kB / 492.9 MB, free: 22.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.3369, allocations: 29.38 kB / 492.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3369, allocations: 0 / 492.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01093/0.3479, allocations: 6.718 MB / 499.6 MB, free: 21.01 MB / 314.7 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)