Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 109.7 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.001171/0.001171, allocations: 196 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05185/0.05185, allocations: 8.095 MB / 300 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2511, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003255/0.2544, allocations: 2.452 MB / 417.2 MB, free: 23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2559, allocations: 1.5 MB / 418.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.256, allocations: 8 kB / 418.7 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.2563, allocations: 159 kB / 418.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.2567, allocations: 186.8 kB / 419 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.258, allocations: 0.9489 MB / 419.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.2583, allocations: 429.9 kB / 420.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2586, allocations: 144.2 kB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2587, allocations: 175.3 kB / 420.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2589, allocations: 231 kB / 420.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.2589, allocations: 32 kB / 420.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.2592, allocations: 199.9 kB / 421.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.2593, allocations: 83.62 kB / 421.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2594, allocations: 207 kB / 421.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.2599, allocations: 0.5429 MB / 422 MB, free: 18.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2599, allocations: 0 / 422 MB, free: 18.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2599, allocations: 4 kB / 422 MB, free: 18.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.2599, allocations: 0 / 422 MB, free: 18.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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003106/0.263, allocations: 1.134 MB / 423.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2631, allocations: 19.83 kB / 423.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.2632, allocations: 44.47 kB / 423.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.2635, allocations: 327.4 kB / 423.5 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2636, allocations: 28.94 kB / 423.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.2636, allocations: 28.38 kB / 423.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2641, allocations: 409.3 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2641, allocations: 192 / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.2642, allocations: 19.94 kB / 424 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2642, allocations: 8 kB / 424 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.2646, allocations: 398 kB / 424.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.2662, allocations: 1.479 MB / 425.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.2671, allocations: 496.7 kB / 426.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2674, allocations: 240.8 kB / 426.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.2675, allocations: 19.97 kB / 426.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2675, allocations: 38.56 kB / 426.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.2676, allocations: 0 / 426.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003922/0.2715, allocations: 1.518 MB / 428.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.2715, allocations: 55.41 kB / 428.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2718, allocations: 258.7 kB / 428.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2718, allocations: 37.7 kB / 428.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.2719, allocations: 172.8 kB / 428.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.272, allocations: 149.8 kB / 428.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2721, allocations: 86.25 kB / 428.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.2722, allocations: 346.7 kB / 429.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2724, allocations: 213 kB / 429.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.2727, allocations: 221 kB / 429.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.2733, allocations: 491.4 kB / 430.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2733, allocations: 0 / 430.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001792/0.2751, allocations: 0.8949 MB / 431 MB, free: 8.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2751, allocations: 8 kB / 431 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2751, allocations: 0 / 431 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.2767, allocations: 394.1 kB / 431.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.277, allocations: 67.91 kB / 431.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.282, allocations: 5.922 MB / 437.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.2824, allocations: 39.58 kB / 437.4 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.2824, allocations: 15.94 kB / 437.4 MB, free: 1.871 MB / 302.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 (41): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.2826, allocations: 161.8 kB / 437.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.2827, allocations: 39.61 kB / 437.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.2846, allocations: 0.9116 MB / 438.5 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2847, allocations: 11.98 kB / 438.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2847, allocations: 0 / 438.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2847, allocations: 3.984 kB / 438.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.2851, allocations: 0.5208 MB / 439.1 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2851, allocations: 0 / 439.1 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.2853, allocations: 55.92 kB / 439.1 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.2869, allocations: 382.1 kB / 439.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.287, allocations: 12 kB / 439.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.2935, allocations: 5.858 MB / 445.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2935, allocations: 0 / 445.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.2956, allocations: 0.9353 MB / 446.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2958, allocations: 124.5 kB / 446.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.2958, allocations: 8 kB / 446.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.2962, allocations: 27.98 kB / 446.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2963, allocations: 40.38 kB / 446.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.2963, allocations: 16 kB / 446.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.2965, allocations: 186 kB / 446.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2966, allocations: 0 / 446.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006327/0.2972, allocations: 167.8 kB / 446.9 MB, free: 7.883 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002394/0.2974, allocations: 135.1 kB / 447 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.2994, allocations: 0.9936 MB / 448 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2994, allocations: 0 / 448 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.3007, allocations: 0.7405 MB / 448.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.3012, allocations: 52.41 kB / 448.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3025, allocations: 0.7105 MB / 449.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3029, allocations: 0.8013 MB / 450.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.3031, allocations: 46.92 kB / 450.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.3032, allocations: 31.44 kB / 450.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3032, allocations: 0 / 450.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of Templates: time 0.01587/0.319, allocations: 10.19 MB / 460.6 MB, free: 10.12 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)