Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004305/0.004305, allocations: 89 kB / 15.91 MB, free: 6.309 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.001031/0.001031, allocations: 198.2 kB / 16.83 MB, free: 6.238 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.215/1.215, allocations: 222.9 MB / 240.5 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1354/0.1354, allocations: 8.081 MB / 298.7 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 59.91 kB / 361 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.09066, allocations: 51.52 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003353/0.09407, allocations: 2.483 MB / 415 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.09608, allocations: 1.493 MB / 416.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.09634, allocations: 8 kB / 416.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.09682, allocations: 147.3 kB / 416.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.09734, allocations: 159 kB / 416.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.09886, allocations: 0.9142 MB / 417.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.09935, allocations: 410 kB / 418.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.09957, allocations: 128.7 kB / 418.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.09976, allocations: 163.3 kB / 418.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1, allocations: 219 kB / 418.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1001, allocations: 28 kB / 418.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.1005, allocations: 187.9 kB / 418.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.1006, allocations: 83.59 kB / 418.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1007, allocations: 191 kB / 419.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.1013, allocations: 0.5295 MB / 419.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1013, allocations: 0 / 419.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1013, allocations: 0 / 419.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1013, allocations: 0 / 419.7 MB, free: 3.02 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003407/0.1048, allocations: 1.135 MB / 420.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1048, allocations: 8.031 kB / 420.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.1049, allocations: 48.38 kB / 420.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1053, allocations: 335.5 kB / 421.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1053, allocations: 20.94 kB / 421.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.1054, allocations: 32.38 kB / 421.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.106, allocations: 413.3 kB / 421.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.106, allocations: 4.188 kB / 421.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.106, allocations: 15.94 kB / 421.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1061, allocations: 8 kB / 421.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.1066, allocations: 398 kB / 422 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1084, allocations: 1.483 MB / 423.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1094, allocations: 0.4912 MB / 424 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.1098, allocations: 240.8 kB / 424.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.1098, allocations: 11.98 kB / 424.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1099, allocations: 46.5 kB / 424.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.835e-06/0.1099, allocations: 3.984 kB / 424.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004157/0.114, allocations: 1.518 MB / 425.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1141, allocations: 55.41 kB / 425.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1144, allocations: 262.6 kB / 426.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.1144, allocations: 37.7 kB / 426.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.1145, allocations: 164.8 kB / 426.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.1146, allocations: 149.8 kB / 426.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1148, allocations: 86.23 kB / 426.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1149, allocations: 346.8 kB / 426.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1152, allocations: 213 kB / 427.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1155, allocations: 221 kB / 427.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.1162, allocations: 487.5 kB / 427.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1162, allocations: 0 / 427.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001985/0.1182, allocations: 0.895 MB / 428.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1182, allocations: 8 kB / 428.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1182, allocations: 0 / 428.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.12, allocations: 386.1 kB / 429.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1202, allocations: 67.91 kB / 429.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.1258, allocations: 5.477 MB / 434.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.1261, allocations: 39.53 kB / 434.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.1262, allocations: 19.92 kB / 434.7 MB, free: 3.191 MB / 366.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 (41): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.1263, allocations: 154.7 kB / 434.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.1264, allocations: 31.81 kB / 434.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.1285, allocations: 0.9155 MB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1285, allocations: 8 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1285, allocations: 7.938 kB / 435.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1285, allocations: 3.984 kB / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.129, allocations: 0.5092 MB / 436.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.129, allocations: 0 / 436.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1292, allocations: 59.91 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.1309, allocations: 390.1 kB / 436.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1309, allocations: 8 kB / 436.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1536/0.2845, allocations: 5.415 MB / 442.2 MB, free: 53.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2846, allocations: 1.844 kB / 442.2 MB, free: 53.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.2865, allocations: 0.9429 MB / 443.1 MB, free: 53.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.2865, allocations: 114.2 kB / 443.2 MB, free: 53.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.2866, allocations: 10.91 kB / 443.2 MB, free: 53.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.2869, allocations: 30.28 kB / 443.3 MB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.287, allocations: 42.56 kB / 443.3 MB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2871, allocations: 15.22 kB / 443.3 MB, free: 53.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2872, allocations: 187.5 kB / 443.5 MB, free: 53.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2872, allocations: 1.312 kB / 443.5 MB, free: 53.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.2878, allocations: 168.3 kB / 443.7 MB, free: 53.12 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.2879, allocations: 124.3 kB / 443.8 MB, free: 53.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.2894, allocations: 0.9838 MB / 444.8 MB, free: 52.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2894, allocations: 0 / 444.8 MB, free: 52.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.2905, allocations: 0.7292 MB / 445.5 MB, free: 52.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.2909, allocations: 43.3 kB / 445.6 MB, free: 52.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.2918, allocations: 0.861 MB / 446.4 MB, free: 51.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.292, allocations: 0.801 MB / 447.2 MB, free: 51.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2921, allocations: 48.14 kB / 447.3 MB, free: 51.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.2922, allocations: 30.38 kB / 447.3 MB, free: 51.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2922, allocations: 5.531 kB / 447.3 MB, free: 51.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01085/0.3031, allocations: 9.537 MB / 456.8 MB, free: 50.69 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)