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.001036/0.001036, allocations: 102.4 kB / 16.02 MB, free: 6.344 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.001149/0.001149, allocations: 197.3 kB / 16.95 MB, free: 6.172 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06023/0.06023, allocations: 8.104 MB / 298.9 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 361.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2848, allocations: 51.52 MB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003089/0.288, allocations: 2.481 MB / 415.2 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2896, allocations: 1.481 MB / 416.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2897, allocations: 8 kB / 416.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.2901, allocations: 135.4 kB / 416.8 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.2905, allocations: 167 kB / 417 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2917, allocations: 0.887 MB / 417.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.2921, allocations: 422 kB / 418.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.2923, allocations: 150.1 kB / 418.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2925, allocations: 175.3 kB / 418.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2927, allocations: 231 kB / 418.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.2927, allocations: 32 kB / 418.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.293, allocations: 203.8 kB / 419.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.2931, allocations: 87.61 kB / 419.2 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2932, allocations: 203 kB / 419.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.2936, allocations: 0.5373 MB / 419.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2936, allocations: 0 / 419.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2936, allocations: 0 / 419.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2936, allocations: 0 / 419.9 MB, free: 18.6 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.00306/0.2967, allocations: 1.142 MB / 421 MB, free: 17.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2967, allocations: 11.97 kB / 421.1 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.2968, allocations: 44.47 kB / 421.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.2972, allocations: 335.4 kB / 421.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2972, allocations: 28.94 kB / 421.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2973, allocations: 32.38 kB / 421.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2978, allocations: 409.3 kB / 421.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2979, allocations: 192 / 421.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2979, allocations: 15.94 kB / 421.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.2979, allocations: 8 kB / 421.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.2984, allocations: 394.1 kB / 422.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3, allocations: 1.487 MB / 423.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/0.3008, allocations: 499.1 kB / 424.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.3011, allocations: 240.8 kB / 424.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.3012, allocations: 11.98 kB / 424.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3012, allocations: 50.48 kB / 424.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.523e-06/0.3012, allocations: 0 / 424.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003969/0.3052, allocations: 1.502 MB / 426.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.3053, allocations: 59.34 kB / 426.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3055, allocations: 262.7 kB / 426.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3056, allocations: 41.7 kB / 426.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3057, allocations: 168.8 kB / 426.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.3058, allocations: 149.8 kB / 426.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.306, allocations: 82.25 kB / 426.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.306, allocations: 346.7 kB / 427.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.3063, allocations: 213.1 kB / 427.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3066, allocations: 221 kB / 427.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.3072, allocations: 491.4 kB / 428.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3072, allocations: 4 kB / 428.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001824/0.309, allocations: 0.8911 MB / 428.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.309, allocations: 8 kB / 429 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.309, allocations: 0 / 429 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.3107, allocations: 394.1 kB / 429.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.311, allocations: 71.89 kB / 429.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.3161, allocations: 5.931 MB / 435.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.3165, allocations: 35.59 kB / 435.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.3166, allocations: 15.98 kB / 435.4 MB, free: 2.301 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.0001939/0.3168, allocations: 159.7 kB / 435.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.3168, allocations: 35.62 kB / 435.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.3189, allocations: 0.9195 MB / 436.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3189, allocations: 8 kB / 436.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.319, allocations: 0 / 436.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.319, allocations: 3.984 kB / 436.5 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3194, allocations: 0.5169 MB / 437 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3194, allocations: 0 / 437 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3196, allocations: 55.91 kB / 437.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.3211, allocations: 390.1 kB / 437.5 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.3212, allocations: 8 kB / 437.5 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005975/0.3271, allocations: 5.867 MB / 443.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3272, allocations: 0 / 443.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.3293, allocations: 0.9353 MB / 444.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3294, allocations: 124.5 kB / 444.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3295, allocations: 15.94 kB / 444.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.3298, allocations: 23.98 kB / 444.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.33, allocations: 40.31 kB / 444.5 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.33, allocations: 16 kB / 444.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.3302, allocations: 186 kB / 444.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3302, allocations: 4 kB / 444.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006389/0.3309, allocations: 163.8 kB / 444.8 MB, free: 8.305 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.0002547/0.3311, allocations: 135.2 kB / 445 MB, free: 8.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.3332, allocations: 1.005 MB / 446 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3332, allocations: 4 kB / 446 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3345, allocations: 0.7326 MB / 446.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.335, allocations: 58.86 kB / 446.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3362, allocations: 0.8431 MB / 447.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3366, allocations: 0.809 MB / 448.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3368, allocations: 46.92 kB / 448.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.3369, allocations: 35.42 kB / 448.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3369, allocations: 0 / 448.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of Templates: time 0.01555/0.3525, allocations: 10.17 MB / 458.7 MB, free: 10.39 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)