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-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.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.001282/0.001282, allocations: 108.5 kB / 16.69 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.001046/0.001046, allocations: 194 kB / 17.61 MB, free: 5.742 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.353/1.353, allocations: 222.9 MB / 241.3 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04547/0.04547, allocations: 8.099 MB / 299.5 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 361.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2076, allocations: 51.52 MB / 413.4 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003112/0.2108, allocations: 3.347 MB / 416.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2127, allocations: 1.835 MB / 418.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2129, allocations: 12 kB / 418.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.2133, allocations: 175.2 kB / 418.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.2139, allocations: 274.5 kB / 419 MB, free: 20.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2157, allocations: 1.206 MB / 420.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.2163, allocations: 0.657 MB / 420.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2165, allocations: 221 kB / 421.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.2167, allocations: 267 kB / 421.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.217, allocations: 354.5 kB / 421.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.2171, allocations: 52 kB / 421.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.2175, allocations: 287.7 kB / 422.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.2176, allocations: 135.4 kB / 422.2 MB, free: 16.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2178, allocations: 326.4 kB / 422.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.2183, allocations: 0.608 MB / 423.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2183, allocations: 0 / 423.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2183, allocations: 0 / 423.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2184, allocations: 0 / 423.1 MB, free: 16.01 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.006396/0.2248, allocations: 1.872 MB / 425 MB, free: 14.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2248, allocations: 15.89 kB / 425 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.225, allocations: 68.19 kB / 425.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.2254, allocations: 434 kB / 425.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2254, allocations: 37.38 kB / 425.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.2255, allocations: 56.38 kB / 425.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.2264, allocations: 0.7142 MB / 426.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2265, allocations: 192 / 426.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.2265, allocations: 23.94 kB / 426.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2265, allocations: 16 kB / 426.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.2273, allocations: 0.656 MB / 427 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2303, allocations: 2.864 MB / 429.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2314, allocations: 1.083 MB / 430.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.2319, allocations: 486.7 kB / 431.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.046e-05/0.232, allocations: 20.62 kB / 431.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2321, allocations: 39.22 kB / 431.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.2321, allocations: 3.984 kB / 431.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01117/0.2432, allocations: 3.218 MB / 434.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2433, allocations: 119.4 kB / 434.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.2437, allocations: 377.5 kB / 435.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.2438, allocations: 45.7 kB / 435.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.2439, allocations: 209.3 kB / 435.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.244, allocations: 256.3 kB / 435.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.2443, allocations: 158.6 kB / 435.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2443, allocations: 358.8 kB / 436.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.2449, allocations: 465.8 kB / 436.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.2455, allocations: 0.5209 MB / 437.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2467, allocations: 1.021 MB / 438.2 MB, free: 396 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2467, allocations: 0 / 438.2 MB, free: 396 kB / 302.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005356/0.252, allocations: 2.015 MB / 440.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2521, allocations: 12 kB / 440.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2521, allocations: 0 / 440.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005755/0.2579, allocations: 1.536 MB / 441.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.2584, allocations: 127.8 kB / 441.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.27, allocations: 6.294 MB / 448.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.2709, allocations: 83.34 kB / 448.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.2709, allocations: 28 kB / 448.3 MB, free: 6.141 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.0002941/0.2712, allocations: 193.6 kB / 448.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2714, allocations: 55.34 kB / 448.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/0.2769, allocations: 1.986 MB / 450.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.2769, allocations: 11.98 kB / 450.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2769, allocations: 0 / 450.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2769, allocations: 3.984 kB / 450.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006387/0.2833, allocations: 2.828 MB / 453.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.2834, allocations: 0 / 453.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.2838, allocations: 95.89 kB / 453.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005797/0.2896, allocations: 1.312 MB / 454.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.2897, allocations: 12 kB / 454.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.3022, allocations: 6.22 MB / 461 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3022, allocations: 0 / 461 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/0.3078, allocations: 1.936 MB / 462.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.308, allocations: 148.1 kB / 463.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3081, allocations: 16 kB / 463.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005819/0.3087, allocations: 47.97 kB / 463.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.3089, allocations: 60.91 kB / 463.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.309, allocations: 27.94 kB / 463.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005012/0.3095, allocations: 259.2 kB / 463.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3095, allocations: 3.938 kB / 463.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000917/0.3105, allocations: 279.8 kB / 463.7 MB, free: 6.391 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.0002796/0.3107, allocations: 143 kB / 463.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004392/0.3151, allocations: 1.707 MB / 465.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3152, allocations: 0 / 465.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.3183, allocations: 1.115 MB / 466.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.3191, allocations: 65.48 kB / 466.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.3215, allocations: 1.428 MB / 468.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.322, allocations: 0.8816 MB / 469.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3222, allocations: 55.42 kB / 469.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3222, allocations: 0 / 469.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Templates: time 0.01681/0.339, allocations: 12 MB / 481.1 MB, free: 4.934 MB / 350.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)