Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104.7 kB / 16.31 MB, free: 6.391 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.001577/0.001577, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05525/0.05525, allocations: 8.103 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 361.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2437, allocations: 51.51 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003393/0.2471, allocations: 3.337 MB / 416.6 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.2496, allocations: 1.855 MB / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.2498, allocations: 12 kB / 418.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.2503, allocations: 210.7 kB / 418.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.251, allocations: 317.9 kB / 419 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.253, allocations: 1.271 MB / 420.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000634/0.2537, allocations: 0.6492 MB / 420.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.254, allocations: 217 kB / 421.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2542, allocations: 274.9 kB / 421.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.2545, allocations: 358.5 kB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.2546, allocations: 52 kB / 421.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.255, allocations: 291.8 kB / 422.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.2551, allocations: 135.4 kB / 422.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.2553, allocations: 310.5 kB / 422.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.256, allocations: 0.8138 MB / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.256, allocations: 0 / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.256, allocations: 0 / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.256, allocations: 0 / 423.3 MB, free: 15.5 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006611/0.2627, allocations: 1.88 MB / 425.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.2627, allocations: 12.03 kB / 425.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2629, allocations: 68.19 kB / 425.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.2634, allocations: 437.9 kB / 425.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2634, allocations: 37.38 kB / 425.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.2635, allocations: 52.38 kB / 425.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.2644, allocations: 0.7104 MB / 426.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2644, allocations: 192 / 426.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.2645, allocations: 27.94 kB / 426.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2645, allocations: 12 kB / 426.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.2652, allocations: 0.6599 MB / 427.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.2681, allocations: 2.864 MB / 430 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2693, allocations: 1.09 MB / 431.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.2698, allocations: 486.7 kB / 431.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.174e-05/0.2699, allocations: 20.62 kB / 431.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2699, allocations: 51.22 kB / 431.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.833e-06/0.2699, allocations: 0 / 431.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01049/0.2804, allocations: 3.202 MB / 434.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.2805, allocations: 123.4 kB / 435 MB, free: 3.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.2809, allocations: 377.5 kB / 435.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.824e-05/0.281, allocations: 45.7 kB / 435.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2811, allocations: 209.3 kB / 435.6 MB, free: 2.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.2813, allocations: 248.3 kB / 435.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.2815, allocations: 154.6 kB / 436 MB, free: 2.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.2816, allocations: 362.7 kB / 436.4 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.2822, allocations: 465.8 kB / 436.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.2828, allocations: 0.5248 MB / 437.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.284, allocations: 1.025 MB / 438.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.284, allocations: 0 / 438.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00512/0.2891, allocations: 2.015 MB / 440.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2891, allocations: 8 kB / 440.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2892, allocations: 0 / 440.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005461/0.2946, allocations: 1.539 MB / 441.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.2952, allocations: 127.8 kB / 442.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.3062, allocations: 6.298 MB / 448.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.3068, allocations: 79.34 kB / 448.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.3069, allocations: 27.98 kB / 448.5 MB, free: 5.617 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.0002652/0.3072, allocations: 193.7 kB / 448.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3073, allocations: 55.34 kB / 448.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/0.3124, allocations: 1.986 MB / 450.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3124, allocations: 8 kB / 450.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3124, allocations: 4 kB / 450.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3124, allocations: 7.922 kB / 450.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/0.3182, allocations: 2.828 MB / 453.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3182, allocations: 0 / 453.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.3185, allocations: 99.89 kB / 453.6 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/0.3237, allocations: 1.297 MB / 454.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.3238, allocations: 15.98 kB / 455 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.3344, allocations: 6.221 MB / 461.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3344, allocations: 8 kB / 461.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.3394, allocations: 1.936 MB / 463.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3396, allocations: 144.1 kB / 463.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.3397, allocations: 16 kB / 463.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.3402, allocations: 43.97 kB / 463.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.3404, allocations: 64.84 kB / 463.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.3405, allocations: 28 kB / 463.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.3408, allocations: 267.1 kB / 463.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3408, allocations: 0 / 463.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000848/0.3417, allocations: 279.8 kB / 463.9 MB, free: 5.863 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 (56): * Single equations (assignments): 55 * 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.0002991/0.342, allocations: 139 kB / 464.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004136/0.3461, allocations: 1.704 MB / 465.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.3461, allocations: 0 / 465.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002791/0.3489, allocations: 1.111 MB / 466.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.3495, allocations: 73.41 kB / 467 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3515, allocations: 1.17 MB / 468.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.352, allocations: 0.8855 MB / 469 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.3523, allocations: 76.34 kB / 469.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3524, allocations: 51.42 kB / 469.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3524, allocations: 0 / 469.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of Templates: time 0.02546/0.3779, allocations: 18.64 MB / 487.8 MB, free: 14 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)