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/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.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.001529/0.001529, allocations: 97.53 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 178.8 kB / 16.61 MB, free: 6.426 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.402/1.402, allocations: 223.2 MB / 240.6 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2127/0.2127, allocations: 8.084 MB / 299.7 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 19.98 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 52.5 MB / 415.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003997/0.1343, allocations: 2.867 MB / 418.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.1382, allocations: 1.739 MB / 419.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.1386, allocations: 12 kB / 419.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.1392, allocations: 139.1 kB / 420 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.14, allocations: 323.1 kB / 420.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.1421, allocations: 1.055 MB / 421.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.143, allocations: 498.9 kB / 421.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.1433, allocations: 202 kB / 422.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.1436, allocations: 251.1 kB / 422.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1441, allocations: 310.7 kB / 422.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.1441, allocations: 32 kB / 422.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.1447, allocations: 231.7 kB / 422.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1448, allocations: 111.5 kB / 423 MB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.145, allocations: 145.4 kB / 423.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.1457, allocations: 0.6078 MB / 423.7 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1457, allocations: 0 / 423.7 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1457, allocations: 0 / 423.7 MB, free: 248 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1457, allocations: 3.938 kB / 423.7 MB, free: 244 kB / 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.2105/0.3562, allocations: 1.817 MB / 425.6 MB, free: 41.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3563, allocations: 9.219 kB / 425.6 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.3566, allocations: 78.02 kB / 425.7 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.3571, allocations: 429.5 kB / 426.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.3572, allocations: 45.28 kB / 426.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.3573, allocations: 61.88 kB / 426.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3583, allocations: 0.749 MB / 426.9 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3584, allocations: 0 / 426.9 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.3584, allocations: 22 kB / 426.9 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3585, allocations: 11.19 kB / 427 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.3593, allocations: 0.6849 MB / 427.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.3628, allocations: 2.984 MB / 430.6 MB, free: 39.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.3642, allocations: 1.297 MB / 431.9 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.3643, allocations: 16.98 kB / 431.9 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3643, allocations: 48.34 kB / 432 MB, free: 38.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.053e-06/0.3643, allocations: 0 / 432 MB, free: 38.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01235/0.3767, allocations: 3.414 MB / 435.4 MB, free: 38.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3768, allocations: 109.9 kB / 435.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.3772, allocations: 379.3 kB / 435.9 MB, free: 37.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.3773, allocations: 44.89 kB / 435.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3774, allocations: 224.8 kB / 436.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3775, allocations: 248.1 kB / 436.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3776, allocations: 18.5 kB / 436.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3777, allocations: 365.7 kB / 436.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/0.3782, allocations: 439.2 kB / 437.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.3788, allocations: 0.5066 MB / 437.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.3795, allocations: 486.8 kB / 438.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3795, allocations: 0 / 438.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004732/0.3843, allocations: 1.968 MB / 440.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3843, allocations: 4.75 kB / 440.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3843, allocations: 0 / 440.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005171/0.3895, allocations: 1.533 MB / 441.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.39, allocations: 129.1 kB / 441.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009415/0.3995, allocations: 5.655 MB / 447.5 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.4003, allocations: 81.75 kB / 447.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.4003, allocations: 26 kB / 447.6 MB, free: 31.88 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.4007, allocations: 195.5 kB / 447.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4008, allocations: 53.91 kB / 447.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.4055, allocations: 1.92 MB / 449.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.4056, allocations: 9.469 kB / 449.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4056, allocations: 0 / 449.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4056, allocations: 7.422 kB / 449.7 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/0.411, allocations: 2.755 MB / 452.5 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4111, allocations: 0 / 452.5 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.4114, allocations: 93.48 kB / 452.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004985/0.4164, allocations: 1.297 MB / 453.9 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.4165, allocations: 25.81 kB / 453.9 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008965/0.4255, allocations: 5.568 MB / 459.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4255, allocations: 6.25 kB / 459.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004694/0.4302, allocations: 1.895 MB / 461.4 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.4304, allocations: 136.6 kB / 461.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.4306, allocations: 17.19 kB / 461.5 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.4311, allocations: 56 kB / 461.6 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.4314, allocations: 60.08 kB / 461.6 MB, free: 25.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.4314, allocations: 24.3 kB / 461.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4318, allocations: 262.3 kB / 461.9 MB, free: 24.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4318, allocations: 0 / 461.9 MB, free: 24.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4328, allocations: 290.2 kB / 462.2 MB, free: 24.87 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002787/0.4331, allocations: 136.7 kB / 462.3 MB, free: 24.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003999/0.4371, allocations: 1.595 MB / 463.9 MB, free: 24.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4371, allocations: 1.188 kB / 463.9 MB, free: 24.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.4399, allocations: 1.052 MB / 465 MB, free: 23.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.4407, allocations: 54.67 kB / 465 MB, free: 23.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.4433, allocations: 1.395 MB / 466.4 MB, free: 22.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.4438, allocations: 0.9033 MB / 467.3 MB, free: 22.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.4441, allocations: 84.31 kB / 467.4 MB, free: 21.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4443, allocations: 49.98 kB / 467.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4443, allocations: 0.5938 kB / 467.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of Templates: time 0.03268/0.477, allocations: 16.03 MB / 483.5 MB, free: 16.63 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: