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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 182.4 kB / 15.8 MB, free: 6.336 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 239.7 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008643, allocations: 92.52 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03706/0.03706, allocations: 8.118 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 8.5 kB / 413.2 MB, free: 89.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08221, allocations: 52.54 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4069, allocations: 80.54 MB / 0.5334 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4072, allocations: 67.95 kB / 0.5335 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.4304, allocations: 10.3 MB / 0.5436 GB, free: 31.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4305, allocations: 0 / 0.5436 GB, free: 31.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.4305, allocations: 3.906 kB / 0.5436 GB, free: 31.51 MB / 378.7 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.002075/0.4326, allocations: 0.792 MB / 0.5443 GB, free: 31.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.4327, allocations: 7.875 kB / 0.5444 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.4328, allocations: 66.47 kB / 0.5444 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.4329, allocations: 35.09 kB / 0.5444 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.4333, allocations: 287.7 kB / 0.5447 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4334, allocations: 15.56 kB / 0.5447 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.4334, allocations: 23.38 kB / 0.5448 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.434, allocations: 388.8 kB / 0.5451 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4341, allocations: 0 / 0.5451 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.4341, allocations: 14.38 kB / 0.5451 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4341, allocations: 7.625 kB / 0.5452 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.4345, allocations: 314.4 kB / 0.5455 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.4366, allocations: 1.539 MB / 0.547 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.4375, allocations: 395.4 kB / 0.5473 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.4377, allocations: 90.47 kB / 0.5474 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4377, allocations: 36.34 kB / 0.5475 GB, free: 29.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.4377, allocations: 0 / 0.5475 GB, free: 29.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003998/0.4417, allocations: 1.255 MB / 0.5487 GB, free: 29.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4418, allocations: 106.7 kB / 0.5488 GB, free: 29.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.442, allocations: 206.1 kB / 0.549 GB, free: 29.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.442, allocations: 33.27 kB / 0.549 GB, free: 29.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.4421, allocations: 155.1 kB / 0.5492 GB, free: 29.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.4422, allocations: 105.4 kB / 0.5493 GB, free: 28.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.4422, allocations: 7.625 kB / 0.5493 GB, free: 28.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.4423, allocations: 337.5 kB / 0.5496 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.4425, allocations: 154.2 kB / 0.5497 GB, free: 28.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4427, allocations: 193.5 kB / 0.5499 GB, free: 28.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4429, allocations: 172.2 kB / 0.5501 GB, free: 28.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4429, allocations: 0 / 0.5501 GB, free: 28.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00188/0.4448, allocations: 0.7262 MB / 0.5508 GB, free: 28.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4449, allocations: 4.547 kB / 0.5508 GB, free: 28.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4449, allocations: 4 kB / 0.5508 GB, free: 28.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.4469, allocations: 421.3 kB / 0.5512 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.4471, allocations: 46.53 kB / 0.5512 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.452, allocations: 3.92 MB / 0.5551 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.4523, allocations: 25.33 kB / 0.5551 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.4524, allocations: 9.859 kB / 0.5551 GB, free: 25.89 MB / 378.7 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.4526, allocations: 142.2 kB / 0.5552 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.4526, allocations: 31.05 kB / 0.5553 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.4548, allocations: 0.802 MB / 0.5561 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4548, allocations: 3.969 kB / 0.5561 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4549, allocations: 4.531 kB / 0.5561 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4549, allocations: 1.359 kB / 0.5561 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.4554, allocations: 484.8 kB / 0.5565 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4554, allocations: 0 / 0.5565 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4556, allocations: 50.08 kB / 0.5566 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.4575, allocations: 406.9 kB / 0.557 GB, free: 25.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.4575, allocations: 8.859 kB / 0.557 GB, free: 25.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.4623, allocations: 3.924 MB / 0.5608 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4623, allocations: 3.938 kB / 0.5608 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.4644, allocations: 0.8079 MB / 0.5616 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.4645, allocations: 107.4 kB / 0.5617 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.4646, allocations: 5.688 kB / 0.5617 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.4648, allocations: 15.62 kB / 0.5617 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.4649, allocations: 29.86 kB / 0.5617 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.465, allocations: 14.53 kB / 0.5618 GB, free: 22.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.4651, allocations: 175.7 kB / 0.5619 GB, free: 22.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4651, allocations: 0 / 0.5619 GB, free: 22.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000504/0.4656, allocations: 123.7 kB / 0.562 GB, free: 22.44 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002746/0.4684, allocations: 1.626 MB / 0.5636 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.4701, allocations: 0.7223 MB / 0.5643 GB, free: 21.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4701, allocations: 3.938 kB / 0.5643 GB, free: 21.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4713, allocations: 0.5442 MB / 0.5649 GB, free: 21.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4715, allocations: 17.27 kB / 0.5649 GB, free: 21.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.4755, allocations: 2.269 MB / 0.5671 GB, free: 20.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4759, allocations: 0.7783 MB / 0.5679 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.476, allocations: 41.28 kB / 0.5679 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.4761, allocations: 93.88 kB / 0.568 GB, free: 19.67 MB / 378.7 MB Notification: Performance of SimCode: time 3.767e-06/0.4761, allocations: 1.406 kB / 0.568 GB, free: 19.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.4986, allocations: 8.572 MB / 0.5764 GB, free: 17.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.4988, allocations: 196.6 kB / 0.5766 GB, free: 17.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.445, allocations: 7.938 kB / 0.5766 GB, free: 17.74 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)