Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 115.8 kB / 17.1 MB, free: 5.965 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.001291/0.001291, allocations: 192.5 kB / 18.03 MB, free: 5.047 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.276/1.276, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04533/0.04533, allocations: 8.09 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 55.91 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07559/0.07678, allocations: 51.52 MB / 466.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004168/0.08097, allocations: 3.711 MB / 470.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.08339, allocations: 1.823 MB / 472.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.08359, allocations: 8 kB / 472.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.08406, allocations: 222.7 kB / 472.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.0847, allocations: 337.8 kB / 472.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.08692, allocations: 1.299 MB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007299/0.08766, allocations: 0.6998 MB / 474.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.08799, allocations: 253.5 kB / 475 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.08825, allocations: 294.9 kB / 475.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.08865, allocations: 378.4 kB / 475.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.08874, allocations: 56 kB / 475.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.08922, allocations: 295.7 kB / 476 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.08934, allocations: 147.4 kB / 476.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.08963, allocations: 342.2 kB / 476.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000832/0.09047, allocations: 0.8801 MB / 477.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09048, allocations: 0 / 477.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09049, allocations: 0 / 477.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.09051, allocations: 0 / 477.3 MB, free: 7.441 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007097/0.09761, allocations: 1.911 MB / 479.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09765, allocations: 15.89 kB / 479.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.09783, allocations: 76.09 kB / 479.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.09838, allocations: 441.9 kB / 479.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.09842, allocations: 41.38 kB / 479.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.09852, allocations: 60.38 kB / 479.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.09967, allocations: 0.7572 MB / 480.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.09969, allocations: 4.172 kB / 480.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.09977, allocations: 27.94 kB / 480.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.09978, allocations: 12 kB / 480.7 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1008, allocations: 0.6872 MB / 481.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.1048, allocations: 2.95 MB / 484.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1064, allocations: 1.29 MB / 485.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/0.107, allocations: 478.7 kB / 486.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/0.1071, allocations: 20.62 kB / 486.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1072, allocations: 43.22 kB / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/0.1072, allocations: 0 / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.0137/0.1209, allocations: 3.452 MB / 489.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.121, allocations: 115.5 kB / 489.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.1215, allocations: 385.5 kB / 490.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.1216, allocations: 41.7 kB / 490.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1217, allocations: 229.1 kB / 490.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.122, allocations: 248.3 kB / 490.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.1222, allocations: 150.6 kB / 490.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1224, allocations: 362.7 kB / 491.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/0.123, allocations: 449.8 kB / 491.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.1238, allocations: 0.5092 MB / 492 MB, free: 8.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.1252, allocations: 0.9899 MB / 493 MB, free: 7.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1252, allocations: 0 / 493 MB, free: 7.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00526/0.1305, allocations: 1.972 MB / 495 MB, free: 5.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1305, allocations: 4 kB / 495 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1305, allocations: 4 kB / 495 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005713/0.1363, allocations: 1.523 MB / 496.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.1368, allocations: 123.8 kB / 496.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.1481, allocations: 5.976 MB / 0.4908 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.1488, allocations: 75.36 kB / 0.4909 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.1489, allocations: 35.92 kB / 0.4909 GB, free: 13.29 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.0002917/0.1492, allocations: 189.7 kB / 0.4911 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1493, allocations: 55.28 kB / 0.4912 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00532/0.1546, allocations: 1.912 MB / 0.493 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1547, allocations: 11.98 kB / 0.493 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1547, allocations: 4 kB / 0.493 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1547, allocations: 3.984 kB / 0.493 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.1607, allocations: 2.76 MB / 0.4957 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1607, allocations: 0 / 0.4957 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.1611, allocations: 91.89 kB / 0.4958 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/0.1665, allocations: 1.289 MB / 0.4971 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.1666, allocations: 19.94 kB / 0.4971 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.1772, allocations: 5.873 MB / 0.5028 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1772, allocations: 0 / 0.5028 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1792/0.3565, allocations: 1.895 MB / 0.5047 GB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3566, allocations: 140 kB / 0.5048 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3568, allocations: 20.56 kB / 0.5048 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.3573, allocations: 40.14 kB / 0.5049 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.3576, allocations: 66.7 kB / 0.505 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.3576, allocations: 26.44 kB / 0.505 GB, free: 45.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.358, allocations: 261.1 kB / 0.5052 GB, free: 45.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.358, allocations: 0 / 0.5052 GB, free: 45.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008496/0.3588, allocations: 297.1 kB / 0.5055 GB, free: 45.02 MB / 382.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 (55): * Single equations (assignments): 54 * 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 Backend phase and start with SimCode phase: time 0.0002204/0.3591, allocations: 138.7 kB / 0.5056 GB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.3627, allocations: 1.642 MB / 0.5072 GB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3627, allocations: 5.078 kB / 0.5072 GB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.3655, allocations: 1.092 MB / 0.5083 GB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.366, allocations: 64.41 kB / 0.5084 GB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3678, allocations: 1.196 MB / 0.5095 GB, free: 44.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3681, allocations: 0.8893 MB / 0.5104 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3683, allocations: 58.8 kB / 0.5105 GB, free: 43.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3683, allocations: 0 / 0.5105 GB, free: 43.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01524/0.3836, allocations: 12.24 MB / 0.5224 GB, free: 39.84 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)