Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002205/0.002205, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 218.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.75 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3056/0.3056, allocations: 37.96 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.101e-05, allocations: 0 / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 56.32 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5573/0.6674, allocations: 95.77 MB / 0.5557 GB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.6678, allocations: 91.94 kB / 0.5557 GB, free: 7.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05924/0.7271, allocations: 12.87 MB / 0.5683 GB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7271, allocations: 0 / 0.5683 GB, free: 10.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.905e-05/0.7272, allocations: 15.94 kB / 0.5683 GB, free: 10.76 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001549/0.7287, allocations: 0.6248 MB / 0.5689 GB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.7288, allocations: 8.031 kB / 0.5689 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.729, allocations: 82.53 kB / 0.569 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.7301, allocations: 95.36 kB / 0.5691 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.7339, allocations: 0.8728 MB / 0.57 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.734, allocations: 28.78 kB / 0.57 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.7341, allocations: 35.98 kB / 0.57 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.7353, allocations: 458.3 kB / 0.5705 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.7354, allocations: 3.938 kB / 0.5705 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.7355, allocations: 19.95 kB / 0.5705 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.927e-05/0.7356, allocations: 20.78 kB / 0.5705 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.7365, allocations: 322.9 kB / 0.5708 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.7403, allocations: 1.636 MB / 0.5724 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.7409, allocations: 185 kB / 0.5726 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.7412, allocations: 113.7 kB / 0.5727 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.7413, allocations: 0 / 0.5727 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7413, allocations: 34.56 kB / 0.5727 GB, free: 6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.7413, allocations: 0 / 0.5727 GB, free: 6 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001978/0.7433, allocations: 0.7109 MB / 0.5734 GB, free: 5.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.7434, allocations: 81.11 kB / 0.5735 GB, free: 5.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.7439, allocations: 266.7 kB / 0.5738 GB, free: 4.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.744, allocations: 29.7 kB / 0.5738 GB, free: 4.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.7442, allocations: 301.9 kB / 0.5741 GB, free: 4.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.7443, allocations: 71 kB / 0.5741 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.7444, allocations: 4 kB / 0.5741 GB, free: 4.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.7445, allocations: 326.8 kB / 0.5745 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.7448, allocations: 96 kB / 0.5745 GB, free: 4.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.7452, allocations: 201.2 kB / 0.5747 GB, free: 3.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.7456, allocations: 136.6 kB / 0.5749 GB, free: 3.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7456, allocations: 0 / 0.5749 GB, free: 3.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001346/0.747, allocations: 410.9 kB / 0.5753 GB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.747, allocations: 8 kB / 0.5753 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008435/0.7479, allocations: 256.7 kB / 0.5755 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.7484, allocations: 76.78 kB / 0.5756 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.7489, allocations: 63.89 kB / 0.5756 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.7514, allocations: 1.581 MB / 0.5772 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.7518, allocations: 23.98 kB / 0.5772 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7519, allocations: 12 kB / 0.5772 GB, free: 1.105 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.752, allocations: 120.9 kB / 0.5773 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.7521, allocations: 31.62 kB / 0.5774 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.7529, allocations: 262.3 kB / 0.5776 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7529, allocations: 4 kB / 0.5776 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7529, allocations: 0 / 0.5776 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7529, allocations: 4 kB / 0.5776 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.7548, allocations: 0.7692 MB / 0.5784 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7549, allocations: 0 / 0.5784 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.7554, allocations: 52.12 kB / 0.5784 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.7554, allocations: 3.984 kB / 0.5784 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.7555, allocations: 7.984 kB / 0.5784 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.7555, allocations: 8.062 kB / 0.5785 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7555, allocations: 3.938 kB / 0.5785 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.7565, allocations: 489.2 kB / 0.5789 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.7566, allocations: 108.7 kB / 0.579 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.7567, allocations: 8 kB / 0.579 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.757, allocations: 11.94 kB / 0.579 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.7571, allocations: 19.92 kB / 0.5791 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.7571, allocations: 4 kB / 0.5791 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003584/0.7575, allocations: 218.2 kB / 0.5793 GB, free: 14.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.7575, allocations: 0 / 0.5793 GB, free: 14.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.7581, allocations: 95.94 kB / 0.5794 GB, free: 14.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.7597, allocations: 1.247 MB / 0.5806 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.7608, allocations: 362.6 kB / 0.5809 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7608, allocations: 4 kB / 0.5809 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.7611, allocations: 95.88 kB / 0.581 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.7617, allocations: 57.98 kB / 0.5811 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.7641, allocations: 0.8689 MB / 0.5819 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.7648, allocations: 0.8619 MB / 0.5828 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.7652, allocations: 135.4 kB / 0.5829 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7652, allocations: 0 / 0.5829 GB, free: 11.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.488, allocations: 7.202 MB / 0.5899 GB, free: 3.812 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)