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.002624/0.002624, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.724/1.724, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008983/0.0008983, allocations: 82.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1591/0.1591, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.53e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 56.32 MB / 474.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5491, allocations: 95.77 MB / 0.5566 GB, free: 6.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/0.5495, allocations: 92.44 kB / 0.5566 GB, free: 6.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0332/0.5827, allocations: 12.87 MB / 0.5692 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5828, allocations: 4 kB / 0.5692 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.5829, allocations: 19.88 kB / 0.5692 GB, free: 11.75 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001127/0.584, allocations: 0.6218 MB / 0.5698 GB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5841, allocations: 8.031 kB / 0.5699 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.5842, allocations: 74.89 kB / 0.5699 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006423/0.5848, allocations: 99.38 kB / 0.57 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.587, allocations: 0.881 MB / 0.5709 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.587, allocations: 23.47 kB / 0.5709 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.5871, allocations: 34.56 kB / 0.5709 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.5878, allocations: 459.5 kB / 0.5714 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5878, allocations: 0 / 0.5714 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.5879, allocations: 22.12 kB / 0.5714 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.5879, allocations: 20.78 kB / 0.5714 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.5885, allocations: 334.2 kB / 0.5717 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.5907, allocations: 1.634 MB / 0.5733 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.591, allocations: 178 kB / 0.5735 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5912, allocations: 104.9 kB / 0.5736 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.5912, allocations: 11.94 kB / 0.5736 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5912, allocations: 34 kB / 0.5736 GB, free: 7.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.5913, allocations: 0 / 0.5736 GB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001188/0.5925, allocations: 0.7105 MB / 0.5743 GB, free: 7.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5925, allocations: 81.11 kB / 0.5744 GB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.5928, allocations: 267.1 kB / 0.5747 GB, free: 6.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.5928, allocations: 29.33 kB / 0.5747 GB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.593, allocations: 257.5 kB / 0.5749 GB, free: 6.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.593, allocations: 69.12 kB / 0.575 GB, free: 6.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5931, allocations: 7.25 kB / 0.575 GB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5932, allocations: 339.4 kB / 0.5753 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5934, allocations: 92.52 kB / 0.5754 GB, free: 6.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5936, allocations: 206.8 kB / 0.5756 GB, free: 5.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.5938, allocations: 131.9 kB / 0.5758 GB, free: 5.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5938, allocations: 4 kB / 0.5758 GB, free: 5.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007713/0.5946, allocations: 417.7 kB / 0.5762 GB, free: 5.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5946, allocations: 8.438 kB / 0.5762 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000486/0.5951, allocations: 257.2 kB / 0.5764 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.5955, allocations: 88.89 kB / 0.5765 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.5957, allocations: 55.91 kB / 0.5765 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.5973, allocations: 1.587 MB / 0.5781 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.5975, allocations: 23.77 kB / 0.5781 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.5975, allocations: 11.94 kB / 0.5781 GB, free: 3.535 MB / 378.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.0001001/0.5976, allocations: 128.6 kB / 0.5783 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.5977, allocations: 27.62 kB / 0.5783 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.5981, allocations: 271.3 kB / 0.5785 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5981, allocations: 0 / 0.5785 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5981, allocations: 4 kB / 0.5785 GB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5982, allocations: 0 / 0.5785 GB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5993, allocations: 0.7653 MB / 0.5793 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5993, allocations: 0 / 0.5793 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.5996, allocations: 51.91 kB / 0.5793 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.5996, allocations: 4 kB / 0.5793 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.5996, allocations: 3.938 kB / 0.5793 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5996, allocations: 4 kB / 0.5794 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5996, allocations: 0 / 0.5794 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.6002, allocations: 486.1 kB / 0.5798 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.6003, allocations: 108.7 kB / 0.5799 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6003, allocations: 3.875 kB / 0.5799 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6005, allocations: 15.98 kB / 0.5799 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.6005, allocations: 19.48 kB / 0.58 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.6006, allocations: 4 kB / 0.58 GB, free: 1.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.6008, allocations: 224.7 kB / 0.5802 GB, free: 1.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6008, allocations: 0 / 0.5802 GB, free: 1.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.6012, allocations: 91.69 kB / 0.5803 GB, free: 1.582 MB / 378.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.001084/0.6023, allocations: 1.254 MB / 0.5815 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.603, allocations: 360.1 kB / 0.5818 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6031, allocations: 192 / 0.5818 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.6032, allocations: 106.8 kB / 0.5819 GB, free: 0 / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.6036, allocations: 60.56 kB / 0.582 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6051, allocations: 0.8048 MB / 0.5828 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.6056, allocations: 0.8651 MB / 0.5836 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.6058, allocations: 70.91 kB / 0.5837 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.606, allocations: 135 kB / 0.5838 GB, free: 14.2 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.606, allocations: 0 / 0.5838 GB, free: 14.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.6309, allocations: 7.1 MB / 0.5907 GB, free: 7.152 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.6311, allocations: 186.5 kB / 0.5909 GB, free: 6.926 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.757, allocations: 0 / 0.5909 GB, free: 6.926 MB / 394.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