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.001042/0.001042, allocations: 108.1 kB / 17.07 MB, free: 6.062 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.001079/0.001079, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.323/1.323, 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.04748/0.04748, allocations: 8.095 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 363.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2186, allocations: 51.52 MB / 414.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003519/0.2222, allocations: 3.719 MB / 418.4 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2244, allocations: 1.823 MB / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2246, allocations: 12 kB / 420.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.2251, allocations: 210.7 kB / 420.4 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.2257, allocations: 333.8 kB / 420.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.2275, allocations: 1.287 MB / 422.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.228, allocations: 0.7037 MB / 422.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.2283, allocations: 259.2 kB / 423 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.2285, allocations: 295 kB / 423.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.2288, allocations: 374.4 kB / 423.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.2289, allocations: 60 kB / 423.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.2293, allocations: 299.7 kB / 424 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.2294, allocations: 139.5 kB / 424.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2296, allocations: 350.2 kB / 424.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.2303, allocations: 0.8721 MB / 425.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2303, allocations: 0 / 425.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2303, allocations: 0 / 425.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2303, allocations: 4 kB / 425.4 MB, free: 14.68 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.006242/0.2366, allocations: 1.911 MB / 427.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2366, allocations: 11.89 kB / 427.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2367, allocations: 72.19 kB / 427.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.2372, allocations: 445.9 kB / 427.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2373, allocations: 45.38 kB / 427.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.2374, allocations: 56.38 kB / 427.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.2383, allocations: 0.765 MB / 428.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2383, allocations: 4.125 kB / 428.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.2384, allocations: 27.94 kB / 428.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2384, allocations: 12 kB / 428.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.2392, allocations: 0.6872 MB / 429.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.2422, allocations: 2.95 MB / 432.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2434, allocations: 1.298 MB / 433.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.2439, allocations: 474.7 kB / 434.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/0.244, allocations: 16.64 kB / 434.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.244, allocations: 43.22 kB / 434.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.2441, allocations: 0 / 434.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01201/0.2561, allocations: 3.456 MB / 437.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.2562, allocations: 111.5 kB / 437.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2566, allocations: 385.5 kB / 438.1 MB, free: 1.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.2566, allocations: 41.7 kB / 438.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2568, allocations: 229.1 kB / 438.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2569, allocations: 248.3 kB / 438.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.2572, allocations: 158.6 kB / 438.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2572, allocations: 370.7 kB / 439.1 MB, free: 320 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.2578, allocations: 441.8 kB / 439.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.2585, allocations: 0.5092 MB / 440.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.2599, allocations: 0.9899 MB / 441.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2599, allocations: 0 / 441.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005185/0.2651, allocations: 1.972 MB / 443 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2651, allocations: 4 kB / 443 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2652, allocations: 0 / 443 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/0.2709, allocations: 1.527 MB / 444.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.2714, allocations: 123.8 kB / 444.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.2826, allocations: 5.96 MB / 450.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.2833, allocations: 83.28 kB / 450.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.2834, allocations: 27.94 kB / 450.8 MB, free: 4.531 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.0003042/0.2837, allocations: 193.8 kB / 450.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2838, allocations: 63.28 kB / 451 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.289, allocations: 1.916 MB / 452.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2891, allocations: 8 kB / 452.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.2891, allocations: 0 / 452.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2891, allocations: 3.984 kB / 452.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.2952, allocations: 2.753 MB / 455.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2952, allocations: 0 / 455.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.2956, allocations: 91.89 kB / 455.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00546/0.301, allocations: 1.289 MB / 457.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.3011, allocations: 20 kB / 457.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.312, allocations: 5.881 MB / 463 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.312, allocations: 4 kB / 463 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.3172, allocations: 1.898 MB / 464.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.3174, allocations: 144.3 kB / 465 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.3175, allocations: 15.94 kB / 465 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.3181, allocations: 51.45 kB / 465.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.3182, allocations: 56.92 kB / 465.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.3183, allocations: 27.98 kB / 465.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003375/0.3186, allocations: 263.2 kB / 465.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3187, allocations: 4 kB / 465.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000934/0.3196, allocations: 287.8 kB / 465.7 MB, free: 5.312 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.0002999/0.3199, allocations: 143.8 kB / 465.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004075/0.324, allocations: 1.641 MB / 467.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.324, allocations: 0 / 467.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.3268, allocations: 1.084 MB / 468.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.3275, allocations: 71.3 kB / 468.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3295, allocations: 1.18 MB / 469.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.3299, allocations: 0.8925 MB / 470.7 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.3302, allocations: 80.34 kB / 470.8 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3303, allocations: 51.41 kB / 470.8 MB, free: 100 kB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3303, allocations: 0 / 470.8 MB, free: 100 kB / 334.1 MB Notification: Performance of Templates: time 0.02654/0.3569, allocations: 18.03 MB / 488.9 MB, free: 14.14 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)