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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 101.8 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.001182/0.001182, allocations: 188.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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06037/0.06037, allocations: 8.088 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2067, allocations: 51.5 MB / 413.4 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003087/0.2099, allocations: 3.338 MB / 416.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2116, allocations: 1.857 MB / 418.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2118, allocations: 8 kB / 418.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.2122, allocations: 206.7 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.2127, allocations: 329.9 kB / 419.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2144, allocations: 1.266 MB / 420.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.2149, allocations: 0.6492 MB / 421 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2151, allocations: 215 kB / 421.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2153, allocations: 278.9 kB / 421.5 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.2156, allocations: 350.5 kB / 421.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.2157, allocations: 52 kB / 421.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.2161, allocations: 287.8 kB / 422.1 MB, free: 16.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.2162, allocations: 135.4 kB / 422.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2164, allocations: 322.4 kB / 422.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.217, allocations: 0.806 MB / 423.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.217, allocations: 4 kB / 423.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.217, allocations: 4 kB / 423.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.217, allocations: 0 / 423.4 MB, free: 15.48 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.006459/0.2235, allocations: 1.883 MB / 425.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2235, allocations: 11.89 kB / 425.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.2236, allocations: 86.7 kB / 425.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2238, allocations: 68.19 kB / 425.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.2242, allocations: 430 kB / 425.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2243, allocations: 37.38 kB / 425.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.2244, allocations: 52.38 kB / 426 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.2252, allocations: 0.7182 MB / 426.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2253, allocations: 7.938 kB / 426.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.2253, allocations: 16 kB / 426.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2253, allocations: 8 kB / 426.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.2261, allocations: 0.6637 MB / 427.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.229, allocations: 2.86 MB / 430.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2301, allocations: 1.09 MB / 431.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.2306, allocations: 490.7 kB / 431.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.2307, allocations: 20.62 kB / 431.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2307, allocations: 43.22 kB / 431.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.853e-06/0.2307, allocations: 0 / 431.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.01065/0.2414, allocations: 3.21 MB / 435.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2415, allocations: 111.5 kB / 435.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.2418, allocations: 381.5 kB / 435.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.2419, allocations: 45.7 kB / 435.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.242, allocations: 209.3 kB / 435.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2421, allocations: 252.3 kB / 436.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.2424, allocations: 154.6 kB / 436.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.2424, allocations: 366.8 kB / 436.6 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.243, allocations: 461.9 kB / 437 MB, free: 1.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.2436, allocations: 0.5248 MB / 437.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2448, allocations: 1.025 MB / 438.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2449, allocations: 0 / 438.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005302/0.2502, allocations: 2.015 MB / 440.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2502, allocations: 4 kB / 440.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2502, allocations: 4 kB / 440.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00583/0.256, allocations: 1.539 MB / 442.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.2566, allocations: 127.8 kB / 442.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.2682, allocations: 6.294 MB / 448.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.2689, allocations: 75.34 kB / 448.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.269, allocations: 35.98 kB / 448.7 MB, free: 5.504 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.0002978/0.2693, allocations: 189.7 kB / 448.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2695, allocations: 59.28 kB / 448.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/0.2749, allocations: 1.983 MB / 450.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.2749, allocations: 8 kB / 450.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2749, allocations: 0 / 450.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2749, allocations: 3.984 kB / 450.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006203/0.2811, allocations: 2.836 MB / 453.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2812, allocations: 0 / 453.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.2815, allocations: 87.91 kB / 453.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005522/0.287, allocations: 1.301 MB / 455.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.2871, allocations: 19.98 kB / 455.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.2986, allocations: 6.233 MB / 461.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2986, allocations: 0 / 461.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.304, allocations: 1.936 MB / 463.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3042, allocations: 152 kB / 463.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3043, allocations: 16 kB / 463.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.3049, allocations: 43.97 kB / 463.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.3051, allocations: 64.84 kB / 463.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.3052, allocations: 31.98 kB / 463.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.3055, allocations: 259.2 kB / 463.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3055, allocations: 0 / 463.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008105/0.3064, allocations: 283.8 kB / 464.1 MB, free: 5.742 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.005529/0.3119, allocations: 2.52 MB / 466.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.3162, allocations: 1.715 MB / 468.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3163, allocations: 4 kB / 468.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/0.3192, allocations: 1.103 MB / 469.5 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.3198, allocations: 67.58 kB / 469.5 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.3357, allocations: 7.839 MB / 477.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3363, allocations: 0.8855 MB / 478.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000313/0.3366, allocations: 72.36 kB / 478.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.3369, allocations: 199.4 kB / 478.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.136e-06/0.3369, allocations: 4 kB / 478.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.3895, allocations: 23.56 MB / 0.4903 GB, free: 15.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.14, allocations: 7.938 kB / 0.4903 GB, free: 15.75 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)