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.001037/0.001037, allocations: 94.25 kB / 16.71 MB, free: 6.145 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.001692/0.001692, allocations: 179.2 kB / 17.62 MB, free: 5.855 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.385/1.385, allocations: 223.3 MB / 241.7 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04276/0.04276, allocations: 8.104 MB / 300.9 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003526, allocations: 15.98 kB / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004045/0.2159, allocations: 3.321 MB / 420 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.2192, allocations: 1.787 MB / 421.8 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.2196, allocations: 8 kB / 421.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.2201, allocations: 183.2 kB / 422 MB, free: 19.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008099/0.2209, allocations: 290.3 kB / 422.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2228, allocations: 1.229 MB / 423.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007872/0.2236, allocations: 0.6725 MB / 424.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.2239, allocations: 214.2 kB / 424.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.2242, allocations: 258.9 kB / 424.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.2246, allocations: 334.5 kB / 424.9 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.2247, allocations: 31.94 kB / 425 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.2252, allocations: 271.8 kB / 425.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.2253, allocations: 119.4 kB / 425.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.2255, allocations: 340 kB / 425.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.226, allocations: 0.6154 MB / 426.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.226, allocations: 0 / 426.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2261, allocations: 4 kB / 426.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2261, allocations: 0 / 426.3 MB, free: 15.16 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.006658/0.2327, allocations: 1.82 MB / 428.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2328, allocations: 11.97 kB / 428.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.233, allocations: 80.03 kB / 428.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.2335, allocations: 442 kB / 428.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2336, allocations: 45.38 kB / 428.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.2337, allocations: 56.38 kB / 428.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2347, allocations: 0.761 MB / 429.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2347, allocations: 192 / 429.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.2348, allocations: 27.94 kB / 429.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2348, allocations: 8 kB / 429.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/0.2357, allocations: 0.6872 MB / 430.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.2391, allocations: 2.981 MB / 433.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.2403, allocations: 1.296 MB / 434.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.2409, allocations: 470.7 kB / 435 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/0.241, allocations: 24.62 kB / 435 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.241, allocations: 43.22 kB / 435 MB, free: 5.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.926e-06/0.241, allocations: 0 / 435 MB, free: 5.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01349/0.2545, allocations: 3.436 MB / 438.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.2546, allocations: 111.5 kB / 438.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.2551, allocations: 381.5 kB / 438.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.2552, allocations: 45.7 kB / 439 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2554, allocations: 237 kB / 439.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2555, allocations: 248.2 kB / 439.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2556, allocations: 77.67 kB / 439.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.2557, allocations: 366.7 kB / 439.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.2563, allocations: 445.8 kB / 440.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.2569, allocations: 0.5092 MB / 440.8 MB, free: 8 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.2586, allocations: 0.986 MB / 441.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2586, allocations: 0 / 441.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005784/0.2644, allocations: 1.976 MB / 443.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2644, allocations: 4 kB / 443.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2644, allocations: 4 kB / 443.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/0.2708, allocations: 1.531 MB / 445.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.2715, allocations: 123.8 kB / 445.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.2832, allocations: 5.459 MB / 450.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.284, allocations: 75.34 kB / 451 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.2841, allocations: 31.98 kB / 451 MB, free: 5.676 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.0003266/0.2844, allocations: 189.7 kB / 451.2 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2846, allocations: 55.34 kB / 451.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.2904, allocations: 1.924 MB / 453.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2904, allocations: 8 kB / 453.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2904, allocations: 0 / 453.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2904, allocations: 3.984 kB / 453.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/0.2973, allocations: 2.769 MB / 456 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2973, allocations: 0 / 456 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.2977, allocations: 87.89 kB / 456 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005919/0.3037, allocations: 1.297 MB / 457.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.3038, allocations: 19.98 kB / 457.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.315, allocations: 5.356 MB / 462.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3151, allocations: 0 / 462.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/0.3208, allocations: 1.897 MB / 464.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.321, allocations: 148.4 kB / 464.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3211, allocations: 12 kB / 464.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3218, allocations: 46.31 kB / 464.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.3221, allocations: 68.84 kB / 464.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.3222, allocations: 24 kB / 464.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.3226, allocations: 275.1 kB / 465.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3226, allocations: 0 / 465.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00103/0.3236, allocations: 295.7 kB / 465.5 MB, free: 6.957 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.0002807/0.3239, allocations: 135.1 kB / 465.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.328, allocations: 1.61 MB / 467.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.328, allocations: 0 / 467.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003041/0.3311, allocations: 1.049 MB / 468.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.3318, allocations: 65.55 kB / 468.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.334, allocations: 1.466 MB / 469.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.3346, allocations: 0.8889 MB / 470.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.3348, allocations: 59.34 kB / 470.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of SimCode: time 1.974e-06/0.3348, allocations: 0 / 470.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.01844/0.3532, allocations: 12.16 MB / 482.9 MB, free: 5.473 MB / 350.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)