Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.1 kB / 17.07 MB, free: 5.68 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.001239/0.001239, allocations: 196 kB / 18.01 MB, free: 5.02 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04949/0.04949, allocations: 8.1 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 363.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2036, allocations: 51.52 MB / 414.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002664/0.2063, allocations: 2.086 MB / 416.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2082, allocations: 1.528 MB / 418.3 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2084, allocations: 4 kB / 418.3 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.2087, allocations: 143.2 kB / 418.5 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.2091, allocations: 159 kB / 418.6 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2105, allocations: 1.074 MB / 419.7 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.2109, allocations: 310.5 kB / 420 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.211, allocations: 108.1 kB / 420.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.2111, allocations: 135.5 kB / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2113, allocations: 159.3 kB / 420.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2113, allocations: 24 kB / 420.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.2116, allocations: 247.8 kB / 420.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.2116, allocations: 67.7 kB / 420.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2118, allocations: 155.1 kB / 420.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.2121, allocations: 492.2 kB / 421.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2122, allocations: 0 / 421.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2122, allocations: 0 / 421.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2122, allocations: 0 / 421.3 MB, free: 18.73 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003407/0.2156, allocations: 1.127 MB / 422.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2156, allocations: 12.02 kB / 422.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.2157, allocations: 32.56 kB / 422.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2159, allocations: 295.6 kB / 422.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.216, allocations: 20.94 kB / 422.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.216, allocations: 32.38 kB / 422.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.2165, allocations: 377.1 kB / 423.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2165, allocations: 192 / 423.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2166, allocations: 7.938 kB / 423.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2166, allocations: 11.94 kB / 423.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2169, allocations: 318.1 kB / 423.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.2185, allocations: 1.443 MB / 425 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.2194, allocations: 408.2 kB / 425.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2196, allocations: 180.8 kB / 425.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/0.2197, allocations: 7.984 kB / 425.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2197, allocations: 42.56 kB / 425.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.2197, allocations: 0 / 425.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003657/0.2234, allocations: 1.255 MB / 426.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2234, allocations: 110.8 kB / 427 MB, free: 12.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2236, allocations: 224.1 kB / 427.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.2236, allocations: 33.7 kB / 427.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.2237, allocations: 160.3 kB / 427.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2237, allocations: 102.5 kB / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2239, allocations: 82.11 kB / 427.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.2239, allocations: 330.8 kB / 427.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2242, allocations: 204.8 kB / 428.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.2245, allocations: 260.2 kB / 428.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.225, allocations: 457.1 kB / 428.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.225, allocations: 0 / 428.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001946/0.227, allocations: 0.8524 MB / 429.6 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.227, allocations: 4 kB / 429.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.227, allocations: 4 kB / 429.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/0.229, allocations: 441.2 kB / 430.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2293, allocations: 67.89 kB / 430.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.2333, allocations: 4.129 MB / 434.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2336, allocations: 47.61 kB / 434.3 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2337, allocations: 16.09 kB / 434.3 MB, free: 5.016 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2338, allocations: 149.7 kB / 434.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.2339, allocations: 27.7 kB / 434.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.2358, allocations: 0.79 MB / 435.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2358, allocations: 7.938 kB / 435.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2358, allocations: 0 / 435.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2358, allocations: 0 / 435.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.2362, allocations: 441.2 kB / 435.7 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2362, allocations: 0 / 435.7 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2363, allocations: 43.97 kB / 435.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.2382, allocations: 441.2 kB / 436.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2383, allocations: 12 kB / 436.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.2426, allocations: 4.122 MB / 440.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2426, allocations: 4.156 kB / 440.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.2446, allocations: 0.8164 MB / 441.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2448, allocations: 104.8 kB / 441.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.2448, allocations: 4 kB / 441.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2451, allocations: 16 kB / 441.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2452, allocations: 27.95 kB / 441.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2452, allocations: 12 kB / 441.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.2454, allocations: 156.5 kB / 441.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2454, allocations: 0 / 441.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.2459, allocations: 135.8 kB / 441.6 MB, free: 13.34 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.2461, allocations: 131.1 kB / 441.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2479, allocations: 0.8165 MB / 442.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2479, allocations: 0 / 442.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.2493, allocations: 0.5442 MB / 443.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2497, allocations: 36.55 kB / 443.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2508, allocations: 0.5934 MB / 443.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2512, allocations: 0.7688 MB / 444.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.2513, allocations: 33.86 kB / 444.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.2514, allocations: 31.42 kB / 444.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2514, allocations: 4 kB / 444.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Templates: time 0.01077/0.2622, allocations: 6.669 MB / 451.2 MB, free: 3.625 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)