Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_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.001026/0.001026, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008431/0.0008433, allocations: 93.2 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1592/0.1592, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 56.32 MB / 480.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.3892, allocations: 95.86 MB / 0.5628 GB, free: 6.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.3896, allocations: 95.94 kB / 0.5629 GB, free: 6.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03418/0.4238, allocations: 12.89 MB / 0.5755 GB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.4238, allocations: 4 kB / 0.5755 GB, free: 9.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.4238, allocations: 12 kB / 0.5755 GB, free: 9.363 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.001161/0.425, allocations: 0.6839 MB / 0.5761 GB, free: 8.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.425, allocations: 8.031 kB / 0.5761 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.705e-05/0.4251, allocations: 82.52 kB / 0.5762 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.4257, allocations: 91.38 kB / 0.5763 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.4277, allocations: 0.8808 MB / 0.5772 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.4277, allocations: 29 kB / 0.5772 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.4278, allocations: 43.98 kB / 0.5772 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.4285, allocations: 456.8 kB / 0.5777 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4285, allocations: 11.88 kB / 0.5777 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.4285, allocations: 11.95 kB / 0.5777 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.4286, allocations: 28.98 kB / 0.5777 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.4291, allocations: 339.7 kB / 0.5781 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.4311, allocations: 1.637 MB / 0.5797 GB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.4315, allocations: 176.1 kB / 0.5798 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4315, allocations: 4 kB / 0.5798 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4315, allocations: 35.28 kB / 0.5799 GB, free: 4.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.4315, allocations: 4 kB / 0.5799 GB, free: 4.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001187/0.4327, allocations: 0.7911 MB / 0.5806 GB, free: 3.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4328, allocations: 77.11 kB / 0.5807 GB, free: 3.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.433, allocations: 267.7 kB / 0.581 GB, free: 3.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4331, allocations: 29.69 kB / 0.581 GB, free: 3.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4332, allocations: 251.6 kB / 0.5812 GB, free: 3.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.4333, allocations: 79 kB / 0.5813 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.4333, allocations: 4 kB / 0.5813 GB, free: 3.047 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4334, allocations: 342.8 kB / 0.5816 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4335, allocations: 95.94 kB / 0.5817 GB, free: 2.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4338, allocations: 208.4 kB / 0.5819 GB, free: 2.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.434, allocations: 139.8 kB / 0.5821 GB, free: 2.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.434, allocations: 0 / 0.5821 GB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007367/0.4347, allocations: 422.8 kB / 0.5825 GB, free: 1.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4347, allocations: 4 kB / 0.5825 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004588/0.4352, allocations: 264.6 kB / 0.5827 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.4355, allocations: 76.78 kB / 0.5828 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.4358, allocations: 68.02 kB / 0.5829 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4372, allocations: 1.62 MB / 0.5844 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4374, allocations: 11.91 kB / 0.5845 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.4374, allocations: 12 kB / 0.5845 GB, free: 15.61 MB / 426.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 () * Number of clocked 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.0001754/0.4376, allocations: 193.6 kB / 0.5846 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.4376, allocations: 27.72 kB / 0.5847 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.438, allocations: 270.6 kB / 0.5849 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.438, allocations: 4.062 kB / 0.5849 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.438, allocations: 0 / 0.5849 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.438, allocations: 7.938 kB / 0.5849 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009953/0.439, allocations: 0.7574 MB / 0.5857 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4391, allocations: 0 / 0.5857 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.4393, allocations: 47.97 kB / 0.5857 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4393, allocations: 8.062 kB / 0.5857 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4394, allocations: 8 kB / 0.5857 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4394, allocations: 3.938 kB / 0.5857 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4394, allocations: 0 / 0.5857 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.4399, allocations: 494.4 kB / 0.5862 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.44, allocations: 108.7 kB / 0.5863 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.44, allocations: 8 kB / 0.5863 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4402, allocations: 8 kB / 0.5863 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.4402, allocations: 23.86 kB / 0.5864 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4403, allocations: 8 kB / 0.5864 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.4405, allocations: 211.1 kB / 0.5866 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4405, allocations: 4 kB / 0.5866 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.4408, allocations: 95.98 kB / 0.5867 GB, free: 13.21 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 () * Number of clocked 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.0008386/0.4417, allocations: 1.238 MB / 0.5879 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.4422, allocations: 366.8 kB / 0.5882 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4423, allocations: 4 kB / 0.5882 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4424, allocations: 99.89 kB / 0.5883 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4427, allocations: 71.03 kB / 0.5884 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.4465, allocations: 4.512 MB / 0.5928 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4468, allocations: 0.8619 MB / 0.5936 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.4471, allocations: 74.91 kB / 0.5937 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4472, allocations: 135.4 kB / 0.5938 GB, free: 5.652 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4472, allocations: 0 / 0.5938 GB, free: 5.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.4659, allocations: 7.054 MB / 0.6007 GB, free: 14.66 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.4662, allocations: 211.6 kB / 0.6009 GB, free: 14.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.423, allocations: 3.938 kB / 0.6009 GB, free: 14.42 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat does not exist to compare? outputFormat=mat