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.001431/0.001431, allocations: 108.6 kB / 16.45 MB, free: 6.496 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.001591/0.001591, allocations: 189.5 kB / 17.39 MB, free: 5.688 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04622/0.04622, allocations: 8.096 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09851, allocations: 51.51 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003313/0.1019, allocations: 2.459 MB / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1038, allocations: 1.493 MB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1039, allocations: 8 kB / 470 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.1043, allocations: 167 kB / 470.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.1047, allocations: 186.8 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1064, allocations: 0.9452 MB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.107, allocations: 434 kB / 471.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1073, allocations: 152.2 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1075, allocations: 175.3 kB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1079, allocations: 223.1 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.1079, allocations: 36 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.1084, allocations: 211.8 kB / 472.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.1085, allocations: 79.69 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1087, allocations: 202.9 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.1094, allocations: 0.541 MB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1094, allocations: 4 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1094, allocations: 3.938 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1094, allocations: 0 / 473.3 MB, free: 10.86 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.003565/0.113, allocations: 1.149 MB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.113, allocations: 12.03 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1132, allocations: 44.66 kB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.1136, allocations: 331.6 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1136, allocations: 24.94 kB / 474.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.1137, allocations: 32.38 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.1143, allocations: 417.3 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1143, allocations: 192 / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.1144, allocations: 19.94 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1144, allocations: 4 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.1151, allocations: 390.1 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1171, allocations: 1.483 MB / 477.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1181, allocations: 495.1 kB / 477.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.1185, allocations: 244.8 kB / 477.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.598e-05/0.1186, allocations: 8 kB / 477.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1186, allocations: 42.56 kB / 477.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/0.1186, allocations: 3.938 kB / 477.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004404/0.123, allocations: 1.518 MB / 479.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1231, allocations: 55.41 kB / 479.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1234, allocations: 270.6 kB / 479.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1234, allocations: 33.7 kB / 479.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1236, allocations: 177 kB / 480 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1237, allocations: 158.6 kB / 480.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1238, allocations: 82.25 kB / 480.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.124, allocations: 346.7 kB / 480.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1243, allocations: 213 kB / 480.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1247, allocations: 225 kB / 481 MB, free: 2.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.1254, allocations: 491.5 kB / 481.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1254, allocations: 0 / 481.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002152/0.1276, allocations: 0.8913 MB / 482.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1276, allocations: 4 kB / 482.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1276, allocations: 0 / 482.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.1294, allocations: 398.1 kB / 482.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1297, allocations: 63.91 kB / 482.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/0.1364, allocations: 5.926 MB / 488.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.1367, allocations: 39.67 kB / 488.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.1368, allocations: 23.92 kB / 488.8 MB, free: 10.53 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.0002176/0.137, allocations: 161.7 kB / 488.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.1371, allocations: 31.81 kB / 489 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.1393, allocations: 0.9158 MB / 489.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1393, allocations: 4 kB / 489.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1393, allocations: 0 / 489.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1394, allocations: 0 / 489.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.1399, allocations: 0.5209 MB / 490.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1399, allocations: 4 kB / 490.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1401, allocations: 59.91 kB / 490.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.1419, allocations: 390.1 kB / 490.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.1419, allocations: 16 kB / 490.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.1482, allocations: 5.864 MB / 496.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1482, allocations: 0 / 496.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.1504, allocations: 0.9355 MB / 497.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.1505, allocations: 124.7 kB / 497.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.1505, allocations: 11.98 kB / 497.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.1509, allocations: 27.55 kB / 497.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.151, allocations: 44.38 kB / 497.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.151, allocations: 16 kB / 497.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.1513, allocations: 186 kB / 498.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1513, allocations: 0 / 498.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006639/0.1519, allocations: 163.9 kB / 498.2 MB, free: 0.5352 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.0002586/0.1522, allocations: 131.3 kB / 498.4 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.1541, allocations: 1.002 MB / 499.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1542, allocations: 0 / 499.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.1555, allocations: 0.7327 MB / 0.4884 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1559, allocations: 55 kB / 0.4884 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1571, allocations: 0.7094 MB / 0.4891 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1575, allocations: 0.8013 MB / 0.4899 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1576, allocations: 50.92 kB / 0.49 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.1577, allocations: 39.36 kB / 0.49 GB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1577, allocations: 0 / 0.49 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.01473/0.1725, allocations: 10.3 MB / 0.5001 GB, free: 2.641 MB / 382.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)