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.0008558/0.0008556, allocations: 84.19 kB / 15.75 MB, free: 416 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.001126/0.001127, allocations: 167.1 kB / 16.63 MB, free: 6.887 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.551/1.551, allocations: 223.3 MB / 240.7 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.215/0.215, allocations: 8.079 MB / 299.8 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004171, allocations: 8 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 52.51 MB / 415.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004171/0.1359, allocations: 3.089 MB / 418.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.1393, allocations: 1.723 MB / 420.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.1402, allocations: 8 kB / 420.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.1409, allocations: 139.2 kB / 420.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.1421, allocations: 294.3 kB / 420.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1446, allocations: 1.043 MB / 421.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1459, allocations: 0.6374 MB / 422.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.1463, allocations: 198 kB / 422.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.1468, allocations: 251 kB / 422.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.1473, allocations: 322.6 kB / 423.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.1474, allocations: 32 kB / 423.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.1481, allocations: 255.7 kB / 423.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.1482, allocations: 107.5 kB / 423.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1484, allocations: 145.4 kB / 423.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2258/0.3741, allocations: 0.616 MB / 424.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3742, allocations: 0 / 424.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3742, allocations: 3.281 kB / 424.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.3742, allocations: 0 / 424.2 MB, free: 35.59 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.006346/0.3806, allocations: 1.827 MB / 426 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3807, allocations: 9.281 kB / 426 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.3809, allocations: 71.11 kB / 426.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.3816, allocations: 432.8 kB / 426.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.3817, allocations: 42.05 kB / 426.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3818, allocations: 59.41 kB / 426.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3831, allocations: 0.755 MB / 427.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3831, allocations: 0 / 427.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.3832, allocations: 23.44 kB / 427.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3832, allocations: 14.25 kB / 427.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009827/0.3842, allocations: 0.6894 MB / 428.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.3877, allocations: 2.968 MB / 431.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.3892, allocations: 1.296 MB / 432.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.3897, allocations: 470.4 kB / 432.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3898, allocations: 20.28 kB / 432.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3899, allocations: 54.02 kB / 432.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/0.3899, allocations: 0 / 432.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01171/0.4016, allocations: 3.411 MB / 436.3 MB, free: 32.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4017, allocations: 112.5 kB / 436.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.4021, allocations: 379.7 kB / 436.8 MB, free: 32.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.4023, allocations: 45.48 kB / 436.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4024, allocations: 229.2 kB / 437.1 MB, free: 31.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.4026, allocations: 252.8 kB / 437.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.4027, allocations: 17.84 kB / 437.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4028, allocations: 364.5 kB / 437.7 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.4034, allocations: 447.5 kB / 438.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.4041, allocations: 0.5024 MB / 438.6 MB, free: 31.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.4047, allocations: 487.7 kB / 439.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4047, allocations: 0 / 439.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004881/0.4096, allocations: 1.967 MB / 441.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4097, allocations: 3.156 kB / 441.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4097, allocations: 3.062 kB / 441.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/0.4147, allocations: 1.532 MB / 442.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.4153, allocations: 135.8 kB / 442.7 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.4244, allocations: 5.436 MB / 448.2 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.4251, allocations: 70.03 kB / 448.2 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.4252, allocations: 30.59 kB / 448.3 MB, free: 27.55 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.0003293/0.4256, allocations: 201.1 kB / 448.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4257, allocations: 52.88 kB / 448.5 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.4304, allocations: 1.917 MB / 450.4 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4304, allocations: 6.438 kB / 450.4 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4304, allocations: 7.125 kB / 450.4 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.4304, allocations: 3.328 kB / 450.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.4355, allocations: 2.754 MB / 453.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4356, allocations: 0 / 453.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.4359, allocations: 93.81 kB / 453.3 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/0.4407, allocations: 1.297 MB / 454.6 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.4408, allocations: 19.11 kB / 454.6 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.4494, allocations: 5.345 MB / 460 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4494, allocations: 0 / 460 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/0.4543, allocations: 1.89 MB / 461.8 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.4548, allocations: 145.6 kB / 462 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.455, allocations: 11.47 kB / 462 MB, free: 20.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/0.4557, allocations: 60.41 kB / 462.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.4561, allocations: 61.39 kB / 462.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.4562, allocations: 21.72 kB / 462.1 MB, free: 20.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.4566, allocations: 261.6 kB / 462.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4567, allocations: 0 / 462.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001513/0.4582, allocations: 290.2 kB / 462.7 MB, free: 20.76 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.0003399/0.4585, allocations: 133.9 kB / 462.8 MB, free: 20.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.4626, allocations: 1.613 MB / 464.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.4627, allocations: 1.25 kB / 464.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/0.4656, allocations: 1.042 MB / 465.5 MB, free: 19.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.4663, allocations: 76.12 kB / 465.5 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4687, allocations: 1.374 MB / 466.9 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4691, allocations: 0.8882 MB / 467.8 MB, free: 17.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.4695, allocations: 83.06 kB / 467.9 MB, free: 17.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4697, allocations: 53.69 kB / 467.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4697, allocations: 0 / 467.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of Templates: time 0.03577/0.5055, allocations: 16.09 MB / 484 MB, free: 13.46 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: