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.001271/0.001271, allocations: 102.5 kB / 16.44 MB, free: 6.336 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.001168/0.001168, allocations: 193 kB / 17.38 MB, free: 5.758 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0485/0.0485, allocations: 8.099 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09613, allocations: 51.52 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002824/0.09899, allocations: 2.097 MB / 468.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1007, allocations: 1.52 MB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.1008, allocations: 4 kB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1011, allocations: 139.2 kB / 469.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1015, allocations: 170.9 kB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1031, allocations: 1.077 MB / 471 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1035, allocations: 310.5 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1037, allocations: 124.2 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1038, allocations: 131.5 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.104, allocations: 155.3 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1041, allocations: 24 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.1045, allocations: 247.8 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1045, allocations: 59.83 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1046, allocations: 155.2 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.1052, allocations: 494.3 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1052, allocations: 0 / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1052, allocations: 0 / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1052, allocations: 0 / 472.7 MB, free: 11.46 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.003859/0.1091, allocations: 1.146 MB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1091, allocations: 12.03 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.1092, allocations: 36.75 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1095, allocations: 283.8 kB / 474.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1096, allocations: 16.94 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.1096, allocations: 28.38 kB / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.1102, allocations: 377.1 kB / 474.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1102, allocations: 4.125 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1103, allocations: 15.94 kB / 474.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1103, allocations: 8 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.1108, allocations: 310.1 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1128, allocations: 1.443 MB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1138, allocations: 398.7 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1141, allocations: 185.3 kB / 476.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.1142, allocations: 11.98 kB / 476.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1142, allocations: 34.56 kB / 476.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.1142, allocations: 0 / 476.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004072/0.1183, allocations: 1.255 MB / 478.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.1184, allocations: 114.8 kB / 478.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.1186, allocations: 224.1 kB / 478.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.1187, allocations: 33.7 kB / 478.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1188, allocations: 164.6 kB / 478.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/0.1189, allocations: 103.1 kB / 478.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1191, allocations: 86.11 kB / 478.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1192, allocations: 334.8 kB / 479.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1196, allocations: 204.8 kB / 479.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.1199, allocations: 252.2 kB / 479.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.1206, allocations: 473 kB / 480.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1206, allocations: 0 / 480.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002158/0.1228, allocations: 0.8409 MB / 481 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1228, allocations: 8 kB / 481 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1229, allocations: 0 / 481 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.1249, allocations: 449.2 kB / 481.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1252, allocations: 59.95 kB / 481.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/0.1302, allocations: 4.149 MB / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.1305, allocations: 43.77 kB / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.1306, allocations: 15.98 kB / 485.7 MB, free: 13.71 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.0001648/0.1307, allocations: 153.7 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.1308, allocations: 23.81 kB / 485.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.1329, allocations: 0.7948 MB / 486.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1329, allocations: 4 kB / 486.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1329, allocations: 0 / 486.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.133, allocations: 7.984 kB / 486.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.1334, allocations: 437 kB / 487.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1334, allocations: 0 / 487.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.1335, allocations: 47.92 kB / 487.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.1355, allocations: 433.5 kB / 487.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1356, allocations: 8 kB / 487.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.1405, allocations: 4.142 MB / 491.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1405, allocations: 4.031 kB / 491.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.1425, allocations: 0.809 MB / 492.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1426, allocations: 108.8 kB / 492.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1426, allocations: 4 kB / 492.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1429, allocations: 19.98 kB / 492.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.143, allocations: 23.97 kB / 492.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.143, allocations: 8 kB / 492.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1432, allocations: 160.5 kB / 492.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 8 kB / 492.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.1437, allocations: 127.9 kB / 493 MB, free: 6.031 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.0001995/0.1439, allocations: 123.2 kB / 493.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.1456, allocations: 0.812 MB / 493.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1456, allocations: 0 / 493.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.1468, allocations: 0.5641 MB / 494.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1471, allocations: 28.61 kB / 494.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1481, allocations: 0.5898 MB / 495.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1484, allocations: 0.761 MB / 495.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1485, allocations: 45.91 kB / 495.9 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.1486, allocations: 23.42 kB / 495.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1486, allocations: 4 kB / 495.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of Templates: time 0.00995/0.1586, allocations: 6.739 MB / 0.4909 GB, free: 12.25 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)