Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 115 kB / 16.69 MB, free: 6.246 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.001029/0.001029, allocations: 191.9 kB / 17.61 MB, free: 5.715 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.312/1.312, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04434/0.04434, allocations: 8.1 MB / 299.5 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 361.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2392, allocations: 51.52 MB / 413.4 MB, free: 25.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002606/0.2419, allocations: 2.127 MB / 415.5 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2433, allocations: 1.512 MB / 417 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.2434, allocations: 12 kB / 417.1 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.2438, allocations: 119.5 kB / 417.2 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2441, allocations: 139.2 kB / 417.3 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2455, allocations: 1.008 MB / 418.3 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.2458, allocations: 310.6 kB / 418.6 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2459, allocations: 126.2 kB / 418.7 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.246, allocations: 127.5 kB / 418.9 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2462, allocations: 155.4 kB / 419 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2462, allocations: 24 kB / 419 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.2465, allocations: 247.7 kB / 419.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.2466, allocations: 59.77 kB / 419.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.388e-05/0.2467, allocations: 155.2 kB / 419.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.2471, allocations: 359.2 kB / 419.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2471, allocations: 0 / 419.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2472, allocations: 0 / 419.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2472, allocations: 0 / 419.8 MB, free: 19.46 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00417/0.2514, allocations: 1.139 MB / 421 MB, free: 18.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2514, allocations: 8.031 kB / 421 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2515, allocations: 32.56 kB / 421 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.2519, allocations: 283.7 kB / 421.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2519, allocations: 28.88 kB / 421.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.252, allocations: 28.38 kB / 421.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.2525, allocations: 381.1 kB / 421.7 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2526, allocations: 192 / 421.7 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.2526, allocations: 7.938 kB / 421.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2526, allocations: 8 kB / 421.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2531, allocations: 314.1 kB / 422 MB, free: 17.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.2549, allocations: 1.446 MB / 423.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.256, allocations: 417.4 kB / 423.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2562, allocations: 184.8 kB / 424.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.2563, allocations: 4 kB / 424.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2563, allocations: 38.56 kB / 424.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.2563, allocations: 0 / 424.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.004455/0.2607, allocations: 1.249 MB / 425.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2608, allocations: 106.8 kB / 425.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.261, allocations: 224.1 kB / 425.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.261, allocations: 37.64 kB / 425.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.2611, allocations: 164.4 kB / 425.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2612, allocations: 94.56 kB / 426 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2613, allocations: 90.11 kB / 426.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.2614, allocations: 334.8 kB / 426.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2616, allocations: 204.8 kB / 426.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2619, allocations: 256.1 kB / 426.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.2625, allocations: 461.1 kB / 427.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2625, allocations: 8.016 kB / 427.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00227/0.2647, allocations: 0.8485 MB / 428.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2648, allocations: 4 kB / 428.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2648, allocations: 0 / 428.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.2669, allocations: 449.2 kB / 428.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.2672, allocations: 71.89 kB / 428.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.2715, allocations: 4.129 MB / 432.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2718, allocations: 43.61 kB / 432.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2719, allocations: 16 kB / 432.9 MB, free: 5.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.2721, allocations: 149.8 kB / 433 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.2721, allocations: 31.77 kB / 433 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.2742, allocations: 0.7821 MB / 433.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2742, allocations: 0 / 433.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2742, allocations: 8 kB / 433.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2742, allocations: 0 / 433.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2745, allocations: 437.1 kB / 434.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2746, allocations: 4 kB / 434.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.2747, allocations: 39.92 kB / 434.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.2767, allocations: 445.2 kB / 434.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.2767, allocations: 4 kB / 434.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.2812, allocations: 4.137 MB / 438.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2812, allocations: 0 / 438.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.2835, allocations: 0.8205 MB / 439.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.2836, allocations: 104.8 kB / 439.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.2836, allocations: 8 kB / 439.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.2839, allocations: 16 kB / 439.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.284, allocations: 27.95 kB / 439.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.2841, allocations: 12 kB / 439.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.2842, allocations: 160.5 kB / 440 MB, free: 14.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2842, allocations: 0 / 440 MB, free: 14.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.2847, allocations: 127.8 kB / 440.1 MB, free: 14.05 MB / 318.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002235/0.285, allocations: 119.2 kB / 440.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.2869, allocations: 0.832 MB / 441.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2869, allocations: 0 / 441.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2882, allocations: 0.552 MB / 441.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2885, allocations: 31.8 kB / 441.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2897, allocations: 0.7356 MB / 442.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.29, allocations: 0.7649 MB / 443.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.2901, allocations: 31.42 kB / 443.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2901, allocations: 0 / 443.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Templates: time 0.008362/0.2985, allocations: 6.783 MB / 450 MB, free: 4.086 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)