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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.0007367/0.0007367, allocations: 96.7 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008405/0.0008406, allocations: 174.3 kB / 16.62 MB, free: 6.434 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.255/1.255, allocations: 223.3 MB / 240.7 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1591/0.1591, allocations: 8.08 MB / 299.8 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 11.98 kB / 363 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08241, allocations: 52.51 MB / 415.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002015/0.08446, allocations: 1.967 MB / 417.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.08597, allocations: 1.427 MB / 418.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.08608, allocations: 8 kB / 418.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.08634, allocations: 115.4 kB / 419 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.08664, allocations: 163 kB / 419.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.08788, allocations: 0.7553 MB / 419.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.08827, allocations: 386 kB / 420.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.08845, allocations: 110.8 kB / 420.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.08858, allocations: 147.4 kB / 420.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.08881, allocations: 199.2 kB / 420.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.08886, allocations: 23.94 kB / 420.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.08913, allocations: 175.8 kB / 420.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.0892, allocations: 63.69 kB / 421 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.08927, allocations: 93.52 kB / 421.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.08964, allocations: 395.1 kB / 421.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.08965, allocations: 0 / 421.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.08966, allocations: 4 kB / 421.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.08967, allocations: 0 / 421.5 MB, free: 2.59 MB / 350.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.003031/0.09271, allocations: 1.076 MB / 422.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09275, allocations: 12.03 kB / 422.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.606e-05/0.09285, allocations: 63.19 kB / 422.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.09294, allocations: 47.48 kB / 422.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.0933, allocations: 330.2 kB / 423 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.09333, allocations: 24.66 kB / 423 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.09339, allocations: 39.94 kB / 423 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.09398, allocations: 421.9 kB / 423.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.094, allocations: 0 / 423.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.09403, allocations: 12 kB / 423.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.09405, allocations: 11.95 kB / 423.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.09457, allocations: 390.5 kB / 423.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/0.2516, allocations: 1.488 MB / 425.3 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/0.2525, allocations: 498.7 kB / 425.8 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.2528, allocations: 241.9 kB / 426.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.2528, allocations: 10.81 kB / 426.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2529, allocations: 44.97 kB / 426.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.2529, allocations: 1.375 kB / 426.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003393/0.2563, allocations: 1.505 MB / 427.6 MB, free: 39.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2563, allocations: 57.38 kB / 427.7 MB, free: 39.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2565, allocations: 260 kB / 427.9 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2566, allocations: 35.33 kB / 428 MB, free: 39.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2567, allocations: 172.8 kB / 428.1 MB, free: 39.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.2567, allocations: 149.2 kB / 428.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.2568, allocations: 10.22 kB / 428.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.2568, allocations: 341.2 kB / 428.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.2571, allocations: 213.5 kB / 428.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2574, allocations: 221.2 kB / 429.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.2577, allocations: 229.1 kB / 429.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2577, allocations: 2.969 kB / 429.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001701/0.2594, allocations: 0.8934 MB / 430.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2594, allocations: 3.188 kB / 430.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2594, allocations: 4 kB / 430.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.2609, allocations: 390.5 kB / 430.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2611, allocations: 70.67 kB / 430.6 MB, free: 39.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.2661, allocations: 5.47 MB / 436.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.2665, allocations: 34.45 kB / 436.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.2665, allocations: 13.41 kB / 436.2 MB, free: 35.01 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.2668, allocations: 165.2 kB / 436.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2668, allocations: 39.89 kB / 436.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.2687, allocations: 0.9104 MB / 437.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2687, allocations: 6.719 kB / 437.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2687, allocations: 0 / 437.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2687, allocations: 3.422 kB / 437.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.2692, allocations: 0.5245 MB / 437.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2692, allocations: 0 / 437.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2694, allocations: 60.22 kB / 437.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.2707, allocations: 386 kB / 438.2 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.2707, allocations: 11.34 kB / 438.2 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.2748, allocations: 5.414 MB / 443.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2749, allocations: 0 / 443.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.2765, allocations: 0.939 MB / 444.6 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.2766, allocations: 106.5 kB / 444.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.2766, allocations: 11.25 kB / 444.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.2769, allocations: 38.56 kB / 444.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.277, allocations: 40.33 kB / 444.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.2771, allocations: 17.19 kB / 444.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.2772, allocations: 190.3 kB / 445 MB, free: 28.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2772, allocations: 0 / 445 MB, free: 28.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005959/0.2778, allocations: 160.8 kB / 445.2 MB, free: 28.48 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.28, allocations: 1.815 MB / 447 MB, free: 27.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.2815, allocations: 0.9842 MB / 448 MB, free: 26.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.2815, allocations: 0 / 448 MB, free: 26.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.2825, allocations: 0.7311 MB / 448.7 MB, free: 26.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2829, allocations: 50.33 kB / 448.7 MB, free: 26.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.2866, allocations: 2.622 MB / 451.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2868, allocations: 0.805 MB / 452.2 MB, free: 24.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.2869, allocations: 55.11 kB / 452.2 MB, free: 24.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2871, allocations: 119.8 kB / 452.3 MB, free: 23.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2871, allocations: 0 / 452.3 MB, free: 23.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.3088, allocations: 12.38 MB / 464.7 MB, free: 23.17 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.3089, allocations: 223.6 kB / 464.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.059, allocations: 0 / 464.9 MB, free: 22.93 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) Environment - environmentSimulation: