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.00112/0.00112, allocations: 109.5 kB / 17.08 MB, free: 5.777 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.001264/0.001264, allocations: 195 kB / 18.02 MB, free: 4.953 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06419/0.06419, allocations: 8.09 MB / 300 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2571, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00482/0.2619, allocations: 3.716 MB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.2652, allocations: 1.816 MB / 420.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.2654, allocations: 12 kB / 420.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.266, allocations: 206.7 kB / 420.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.2668, allocations: 341.8 kB / 420.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2688, allocations: 1.29 MB / 422.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.2695, allocations: 0.7192 MB / 422.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.2698, allocations: 251.2 kB / 423 MB, free: 17.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.27, allocations: 298.9 kB / 423.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.2704, allocations: 366.4 kB / 423.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.2704, allocations: 64 kB / 423.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.2709, allocations: 287.8 kB / 424 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.271, allocations: 155.4 kB / 424.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.2712, allocations: 346.2 kB / 424.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.2719, allocations: 0.8721 MB / 425.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2719, allocations: 0 / 425.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.272, allocations: 0 / 425.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.272, allocations: 0 / 425.4 MB, free: 14.72 MB / 302.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.00629/0.2783, allocations: 1.911 MB / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2783, allocations: 15.83 kB / 427.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2785, allocations: 76.19 kB / 427.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.279, allocations: 445.9 kB / 427.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.279, allocations: 41.38 kB / 427.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.2791, allocations: 56.38 kB / 427.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.2801, allocations: 0.761 MB / 428.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2802, allocations: 192 / 428.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.2802, allocations: 27.94 kB / 428.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2803, allocations: 8 kB / 428.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.2811, allocations: 0.6911 MB / 429.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.2842, allocations: 2.942 MB / 432.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.2853, allocations: 1.306 MB / 433.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.2858, allocations: 466.7 kB / 434.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.286, allocations: 28.62 kB / 434.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.286, allocations: 43.22 kB / 434.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.023e-06/0.286, allocations: 0 / 434.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01201/0.298, allocations: 3.448 MB / 437.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.2981, allocations: 115.5 kB / 437.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.2985, allocations: 381.5 kB / 438.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/0.2986, allocations: 45.7 kB / 438.2 MB, free: 1.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2987, allocations: 233 kB / 438.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.2988, allocations: 244.3 kB / 438.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.299, allocations: 158.6 kB / 438.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.2991, allocations: 366.7 kB / 439.1 MB, free: 368 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.2997, allocations: 445.8 kB / 439.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.3004, allocations: 0.513 MB / 440.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.3018, allocations: 0.9861 MB / 441.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3019, allocations: 0 / 441.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005243/0.3071, allocations: 1.976 MB / 443 MB, free: 12.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3071, allocations: 8 kB / 443.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3072, allocations: 3.984 kB / 443.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005647/0.3128, allocations: 1.523 MB / 444.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.3134, allocations: 127.8 kB / 444.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.3243, allocations: 5.955 MB / 450.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.325, allocations: 79.36 kB / 450.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.3251, allocations: 31.98 kB / 450.8 MB, free: 4.566 MB / 318.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.000307/0.3254, allocations: 189.7 kB / 451 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3256, allocations: 59.28 kB / 451 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.3307, allocations: 1.912 MB / 452.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3307, allocations: 12 kB / 452.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.3307, allocations: 0 / 452.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3307, allocations: 7.922 kB / 452.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.3365, allocations: 2.757 MB / 455.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3366, allocations: 0 / 455.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.3369, allocations: 95.89 kB / 455.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005184/0.3421, allocations: 1.281 MB / 457.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.3422, allocations: 24 kB / 457.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.353, allocations: 5.889 MB / 463 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.353, allocations: 0 / 463 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.3579, allocations: 1.89 MB / 464.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3581, allocations: 148.3 kB / 465 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.3582, allocations: 16 kB / 465 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.3588, allocations: 46.97 kB / 465.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.359, allocations: 60.91 kB / 465.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.359, allocations: 27.98 kB / 465.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.3593, allocations: 263.1 kB / 465.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.083e-06/0.3594, allocations: 0 / 465.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008438/0.3602, allocations: 295.7 kB / 465.7 MB, free: 5.344 MB / 334.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.0002568/0.3605, allocations: 131.2 kB / 465.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.3641, allocations: 1.649 MB / 467.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3641, allocations: 0 / 467.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.3668, allocations: 1.087 MB / 468.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.3673, allocations: 67.2 kB / 468.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3692, allocations: 1.187 MB / 469.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3696, allocations: 0.8886 MB / 470.7 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.3699, allocations: 72.36 kB / 470.8 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.37, allocations: 47.42 kB / 470.8 MB, free: 148 kB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.37, allocations: 4 kB / 470.8 MB, free: 144 kB / 334.1 MB Notification: Performance of Templates: time 0.0253/0.3953, allocations: 18.03 MB / 488.9 MB, free: 14.18 MB / 366.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)