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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001418/0.001418, allocations: 105.5 kB / 16.31 MB, free: 6.359 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.001253/0.001253, allocations: 187.4 kB / 17.24 MB, free: 5.879 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04727/0.04727, allocations: 8.099 MB / 299.2 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 63.89 kB / 361.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.282, allocations: 51.51 MB / 413.2 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003318/0.2854, allocations: 2.448 MB / 415.7 MB, free: 23.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2873, allocations: 1.496 MB / 417.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2875, allocations: 4 kB / 417.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.2879, allocations: 159 kB / 417.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.2884, allocations: 186.8 kB / 417.5 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.2899, allocations: 0.9451 MB / 418.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.2904, allocations: 422 kB / 418.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2907, allocations: 158.1 kB / 419 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2908, allocations: 171.3 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.291, allocations: 231 kB / 419.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.2911, allocations: 32 kB / 419.5 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.2915, allocations: 203.8 kB / 419.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.2915, allocations: 87.62 kB / 419.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.2917, allocations: 207 kB / 420 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.2922, allocations: 0.5373 MB / 420.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2922, allocations: 0 / 420.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2922, allocations: 0 / 420.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2922, allocations: 0 / 420.5 MB, free: 18.3 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.003498/0.2957, allocations: 1.141 MB / 421.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2958, allocations: 11.97 kB / 421.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2959, allocations: 44.47 kB / 421.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.2963, allocations: 327.4 kB / 422 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2963, allocations: 28.94 kB / 422 MB, free: 16.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2964, allocations: 28.38 kB / 422.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.2969, allocations: 409.3 kB / 422.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2969, allocations: 192 / 422.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.297, allocations: 23.94 kB / 422.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.297, allocations: 8 kB / 422.5 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.2975, allocations: 390.1 kB / 422.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.2993, allocations: 1.487 MB / 424.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.3002, allocations: 0.489 MB / 424.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.3006, allocations: 244.7 kB / 425.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.3006, allocations: 15.98 kB / 425.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3007, allocations: 38.56 kB / 425.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.3007, allocations: 0 / 425.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.004212/0.3049, allocations: 1.514 MB / 426.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.305, allocations: 59.34 kB / 426.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.3052, allocations: 258.7 kB / 427 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3053, allocations: 37.7 kB / 427 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.3054, allocations: 168.8 kB / 427.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.3055, allocations: 153.8 kB / 427.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3056, allocations: 82.25 kB / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.3057, allocations: 350.7 kB / 427.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.306, allocations: 209.1 kB / 427.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.3062, allocations: 221 kB / 428.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.3068, allocations: 499.4 kB / 428.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3068, allocations: 0 / 428.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001856/0.3087, allocations: 0.8911 MB / 429.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3087, allocations: 4 kB / 429.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3087, allocations: 0 / 429.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.3104, allocations: 398.1 kB / 429.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3107, allocations: 67.91 kB / 430 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.3162, allocations: 5.932 MB / 435.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.3167, allocations: 35.59 kB / 436 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.3168, allocations: 19.98 kB / 436 MB, free: 2 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.0002682/0.3171, allocations: 162.5 kB / 436.1 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.3172, allocations: 31.62 kB / 436.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.3193, allocations: 0.9195 MB / 437.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3193, allocations: 4 kB / 437.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3193, allocations: 0 / 437.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3193, allocations: 7.984 kB / 437.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.3199, allocations: 0.5208 MB / 437.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.32, allocations: 0 / 437.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3201, allocations: 59.91 kB / 437.7 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.3218, allocations: 390.2 kB / 438.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.3219, allocations: 8 kB / 438.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/0.3286, allocations: 5.863 MB / 443.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3287, allocations: 3.938 kB / 443.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.331, allocations: 0.9353 MB / 444.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3312, allocations: 116.5 kB / 445 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.3312, allocations: 15.92 kB / 445 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.3316, allocations: 27.98 kB / 445 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3317, allocations: 44.31 kB / 445.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.3317, allocations: 16 kB / 445.1 MB, free: 8.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.332, allocations: 186 kB / 445.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.332, allocations: 0 / 445.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007185/0.3327, allocations: 163.8 kB / 445.4 MB, free: 8 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.000289/0.333, allocations: 127.3 kB / 445.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.3351, allocations: 1.017 MB / 446.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3351, allocations: 0 / 446.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3365, allocations: 0.7404 MB / 447.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.337, allocations: 54.52 kB / 447.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3383, allocations: 0.7027 MB / 448.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.3387, allocations: 0.8051 MB / 448.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.3389, allocations: 50.92 kB / 448.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.339, allocations: 31.44 kB / 449 MB, free: 4.34 MB / 318.1 MB Notification: Performance of SimCode: time 1.323e-06/0.339, allocations: 0 / 449 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Templates: time 0.0165/0.3555, allocations: 10.19 MB / 459.1 MB, free: 10.22 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)