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.001424/0.00143, allocations: 118.4 kB / 17.13 MB, free: 5.961 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.001647/0.001647, allocations: 195 kB / 18.06 MB, free: 5.039 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.614/1.614, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04717/0.04717, allocations: 8.1 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07499/0.0762, allocations: 51.51 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004333/0.08056, allocations: 3.719 MB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.08297, allocations: 1.835 MB / 472.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.08317, allocations: 12 kB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.08364, allocations: 214.6 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.0843, allocations: 333.8 kB / 472.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.08656, allocations: 1.287 MB / 474.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.08735, allocations: 0.7037 MB / 474.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.0877, allocations: 253.5 kB / 475 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.08798, allocations: 298.9 kB / 475.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.08842, allocations: 374.4 kB / 475.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.942e-05/0.08852, allocations: 60 kB / 475.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.08905, allocations: 295.8 kB / 476 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.08917, allocations: 139.4 kB / 476.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.08946, allocations: 346.2 kB / 476.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.09037, allocations: 0.88 MB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.09039, allocations: 0 / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0904, allocations: 0 / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.09041, allocations: 4 kB / 477.4 MB, free: 7.422 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.007551/0.09797, allocations: 1.915 MB / 479.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.09802, allocations: 11.89 kB / 479.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.09819, allocations: 76.09 kB / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.09875, allocations: 441.9 kB / 479.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.0988, allocations: 45.38 kB / 479.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.09891, allocations: 56.38 kB / 479.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1001, allocations: 0.7611 MB / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1001, allocations: 192 / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.1002, allocations: 27.94 kB / 480.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.1002, allocations: 16 kB / 480.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1013, allocations: 0.6872 MB / 481.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.1053, allocations: 2.946 MB / 484.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.1068, allocations: 1.298 MB / 485.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.1074, allocations: 478.7 kB / 486.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.1075, allocations: 20.58 kB / 486.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1076, allocations: 39.22 kB / 486.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.1076, allocations: 0 / 486.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01408/0.1217, allocations: 3.46 MB / 489.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1218, allocations: 111.5 kB / 489.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.1222, allocations: 381.5 kB / 490.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.1223, allocations: 45.7 kB / 490.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1225, allocations: 225.1 kB / 490.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.1227, allocations: 248.3 kB / 490.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.1229, allocations: 154.6 kB / 490.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1231, allocations: 362.7 kB / 491.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1237, allocations: 457.8 kB / 491.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.1244, allocations: 0.5053 MB / 492.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.1258, allocations: 0.9861 MB / 493.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1259, allocations: 0 / 493.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005231/0.1311, allocations: 1.972 MB / 495 MB, free: 5.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1311, allocations: 4 kB / 495 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1311, allocations: 0 / 495 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/0.1368, allocations: 1.527 MB / 496.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.1373, allocations: 123.9 kB / 496.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.1486, allocations: 5.964 MB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.1493, allocations: 75.34 kB / 0.4909 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.1494, allocations: 28 kB / 0.491 GB, free: 13.28 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.0002966/0.1497, allocations: 193.7 kB / 0.4912 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1498, allocations: 59.28 kB / 0.4912 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/0.1553, allocations: 1.912 MB / 0.4931 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1554, allocations: 12 kB / 0.4931 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1554, allocations: 3.984 kB / 0.4931 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1554, allocations: 3.984 kB / 0.4931 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.1615, allocations: 2.756 MB / 0.4958 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.1615, allocations: 3.938 kB / 0.4958 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.1619, allocations: 91.84 kB / 0.4959 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/0.1675, allocations: 1.289 MB / 0.4971 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.1676, allocations: 16 kB / 0.4972 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.1788, allocations: 5.877 MB / 0.5029 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1789, allocations: 0 / 0.5029 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1721/0.351, allocations: 1.901 MB / 0.5047 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3512, allocations: 142.5 kB / 0.5049 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3513, allocations: 14.03 kB / 0.5049 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.3519, allocations: 42.75 kB / 0.5049 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.3522, allocations: 63.3 kB / 0.505 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.3522, allocations: 26.23 kB / 0.505 GB, free: 45.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3526, allocations: 264.6 kB / 0.5053 GB, free: 45.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3526, allocations: 0 / 0.5053 GB, free: 45.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008047/0.3534, allocations: 293 kB / 0.5056 GB, free: 45.16 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.0002076/0.3536, allocations: 143.3 kB / 0.5057 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.3575, allocations: 1.642 MB / 0.5073 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.3575, allocations: 8.734 kB / 0.5073 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.3604, allocations: 1.085 MB / 0.5084 GB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.361, allocations: 64.58 kB / 0.5084 GB, free: 44.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3628, allocations: 1.2 MB / 0.5096 GB, free: 44.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3632, allocations: 0.8952 MB / 0.5105 GB, free: 43.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3633, allocations: 56.08 kB / 0.5105 GB, free: 43.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3633, allocations: 3.391 kB / 0.5105 GB, free: 43.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01528/0.3786, allocations: 12.29 MB / 0.5225 GB, free: 39.98 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)