Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 106.6 kB / 17.13 MB, free: 5.938 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.001687/0.001687, allocations: 194.1 kB / 18.07 MB, free: 5.02 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.355/1.355, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04556/0.04556, allocations: 8.098 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 56.14 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08875, allocations: 51.53 MB / 466.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003997/0.09277, allocations: 3.328 MB / 470 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.0952, allocations: 1.862 MB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.09536, allocations: 11.94 kB / 471.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.09578, allocations: 198.8 kB / 472.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.09639, allocations: 329.9 kB / 472.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.09863, allocations: 1.288 MB / 473.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.09947, allocations: 0.6531 MB / 474.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.09985, allocations: 226.9 kB / 474.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1001, allocations: 278.9 kB / 474.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.1006, allocations: 346.6 kB / 475.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.1006, allocations: 55.94 kB / 475.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1011, allocations: 291.7 kB / 475.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.1012, allocations: 127.5 kB / 475.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.1015, allocations: 318.3 kB / 476 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000796/0.1023, allocations: 0.8178 MB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1023, allocations: 4 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1023, allocations: 0 / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1023, allocations: 0 / 476.8 MB, free: 8.008 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006997/0.1093, allocations: 1.876 MB / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1094, allocations: 11.89 kB / 478.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1096, allocations: 72.19 kB / 478.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.1101, allocations: 418.2 kB / 479.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.1102, allocations: 41.38 kB / 479.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.1103, allocations: 52.31 kB / 479.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1114, allocations: 0.7216 MB / 480 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1114, allocations: 192 / 480 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.1115, allocations: 27.94 kB / 480 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1115, allocations: 11.98 kB / 480 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/0.1125, allocations: 0.656 MB / 480.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.1166, allocations: 2.848 MB / 483.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1183, allocations: 1.094 MB / 484.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.119, allocations: 486.7 kB / 485.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.1191, allocations: 24.61 kB / 485.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1191, allocations: 43.22 kB / 485.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.1191, allocations: 0 / 485.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01224/0.1313, allocations: 3.202 MB / 488.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1314, allocations: 119.3 kB / 488.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.1319, allocations: 389.3 kB / 488.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.132, allocations: 41.7 kB / 488.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1321, allocations: 209.4 kB / 489.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.1323, allocations: 252.3 kB / 489.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.1326, allocations: 154.6 kB / 489.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1327, allocations: 358.8 kB / 489.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.1334, allocations: 465.9 kB / 490.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.1342, allocations: 0.5248 MB / 490.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1357, allocations: 1.017 MB / 491.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1357, allocations: 8.031 kB / 491.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005632/0.1413, allocations: 2.015 MB / 493.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1413, allocations: 7.938 kB / 493.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1414, allocations: 0 / 493.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005974/0.1473, allocations: 1.527 MB / 495.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.1478, allocations: 131.7 kB / 495.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.1595, allocations: 6.29 MB / 0.49 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.1603, allocations: 71.42 kB / 0.4901 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.1604, allocations: 31.98 kB / 0.4901 GB, free: 14.17 MB / 382.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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.1607, allocations: 189.7 kB / 0.4903 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1608, allocations: 51.34 kB / 0.4904 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/0.1664, allocations: 1.99 MB / 0.4923 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1665, allocations: 3.984 kB / 0.4923 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1665, allocations: 0 / 0.4923 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1666, allocations: 152.2 kB / 0.4925 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.1667, allocations: 19.94 kB / 0.4925 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.1673, allocations: 47.84 kB / 0.4925 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1674, allocations: 96.81 kB / 0.4926 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004546/0.172, allocations: 1.604 MB / 0.4942 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002207/0.1742, allocations: 1.54 MB / 0.4957 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005768/0.1748, allocations: 399.9 kB / 0.4961 GB, free: 8.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000303/0.1751, allocations: 263.2 kB / 0.4963 GB, free: 7.77 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.1751, allocations: 0 / 0.4963 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004104/0.1792, allocations: 1.476 MB / 0.4978 GB, free: 6.281 MB / 382.1 MB Notification: Performance of SimCode: time 0.001628/0.1809, allocations: 1.601 MB / 0.4993 GB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.2189/0.3998, allocations: 17.78 MB / 0.5167 GB, free: 43 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)