Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.001285/0.001285, allocations: 179.3 kB / 15.8 MB, free: 6.34 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.683/1.683, allocations: 223.2 MB / 239.7 MB, free: 1.777 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.001133/0.001133, allocations: 98.19 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06744/0.06744, allocations: 8.109 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8.531 kB / 413.2 MB, free: 89.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 52.53 MB / 465.7 MB, free: 41.95 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.5675, allocations: 79.95 MB / 0.5329 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5678, allocations: 63.23 kB / 0.5329 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03846/0.6063, allocations: 15.41 MB / 0.548 GB, free: 31.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6063, allocations: 0 / 0.548 GB, free: 31.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.523e-05/0.6064, allocations: 7.75 kB / 0.548 GB, free: 31.04 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003994/0.6104, allocations: 1.089 MB / 0.549 GB, free: 30.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.6105, allocations: 11.56 kB / 0.5491 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002909/0.6108, allocations: 74.27 kB / 0.5491 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.611, allocations: 54.56 kB / 0.5492 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008694/0.6119, allocations: 385.9 kB / 0.5495 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.612, allocations: 23.66 kB / 0.5496 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6121, allocations: 34.53 kB / 0.5496 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6133, allocations: 0.6015 MB / 0.5502 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6134, allocations: 0 / 0.5502 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.6134, allocations: 15.5 kB / 0.5502 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6135, allocations: 11.53 kB / 0.5502 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.6144, allocations: 0.5447 MB / 0.5507 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.618, allocations: 2.428 MB / 0.5531 GB, free: 29.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6191, allocations: 0.8735 MB / 0.554 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.6193, allocations: 100.2 kB / 0.5541 GB, free: 28.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6193, allocations: 46.27 kB / 0.5541 GB, free: 28.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.6193, allocations: 0 / 0.5541 GB, free: 28.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.0103/0.6297, allocations: 2.703 MB / 0.5568 GB, free: 28.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.6297, allocations: 108.8 kB / 0.5569 GB, free: 28.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.6302, allocations: 304 kB / 0.5571 GB, free: 28.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.6303, allocations: 36.55 kB / 0.5572 GB, free: 28.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.6304, allocations: 203.3 kB / 0.5574 GB, free: 27.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6306, allocations: 194 kB / 0.5576 GB, free: 27.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.6307, allocations: 11.38 kB / 0.5576 GB, free: 27.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6308, allocations: 357.2 kB / 0.5579 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.6314, allocations: 318.7 kB / 0.5582 GB, free: 27.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.632, allocations: 416.6 kB / 0.5586 GB, free: 27.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.6327, allocations: 356 kB / 0.559 GB, free: 27.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6327, allocations: 5 kB / 0.559 GB, free: 27.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.004569/0.6373, allocations: 1.578 MB / 0.5605 GB, free: 27.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.6373, allocations: 8.219 kB / 0.5605 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6373, allocations: 1.688 kB / 0.5605 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004536/0.6419, allocations: 1.042 MB / 0.5615 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.6423, allocations: 81.36 kB / 0.5616 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.6523, allocations: 5.05 MB / 0.5665 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.653, allocations: 50.17 kB / 0.5666 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6531, allocations: 19.12 kB / 0.5666 GB, free: 25.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,62.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.6536, allocations: 174.3 kB / 0.5668 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.6538, allocations: 48.64 kB / 0.5668 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005316/0.6591, allocations: 1.688 MB / 0.5685 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6591, allocations: 7.719 kB / 0.5685 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/0.6592, allocations: 5.5 kB / 0.5685 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6592, allocations: 3.469 kB / 0.5685 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.6657, allocations: 2.601 MB / 0.571 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6657, allocations: 0 / 0.571 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.666, allocations: 75.77 kB / 0.5711 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.6703, allocations: 0.9675 MB / 0.572 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.6704, allocations: 11.62 kB / 0.572 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.6805, allocations: 5.106 MB / 0.577 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6806, allocations: 4.031 kB / 0.577 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005036/0.6856, allocations: 1.68 MB / 0.5787 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.6858, allocations: 135.2 kB / 0.5788 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.686, allocations: 21.09 kB / 0.5788 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.6865, allocations: 26.31 kB / 0.5788 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6866, allocations: 46.61 kB / 0.5789 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.6867, allocations: 32.09 kB / 0.5789 GB, free: 22.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.6871, allocations: 246.3 kB / 0.5792 GB, free: 22.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6871, allocations: 0 / 0.5792 GB, free: 22.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001438/0.6886, allocations: 230.8 kB / 0.5794 GB, free: 22.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,61.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004913/0.6935, allocations: 2.388 MB / 0.5817 GB, free: 20.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.6964, allocations: 1.21 MB / 0.5829 GB, free: 20.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6964, allocations: 3.781 kB / 0.5829 GB, free: 20.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.6985, allocations: 0.8415 MB / 0.5837 GB, free: 19.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.699, allocations: 33.06 kB / 0.5837 GB, free: 19.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.7088, allocations: 5.4 MB / 0.589 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.7096, allocations: 0.8458 MB / 0.5898 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.7099, allocations: 62.42 kB / 0.5899 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.7102, allocations: 154.6 kB / 0.5901 GB, free: 14.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.993e-06/0.7102, allocations: 0 / 0.5901 GB, free: 14.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.747, allocations: 16.29 MB / 0.606 GB, free: 6.961 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.7473, allocations: 212 kB / 0.6062 GB, free: 6.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.125, allocations: 0 / 0.6062 GB, free: 6.727 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)