Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.0009794/0.0009794, allocations: 174 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.621/1.621, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0008451/0.0008451, allocations: 82.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1642/0.1642, allocations: 37.97 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.619e-05, allocations: 0 / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 56.32 MB / 474.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5473, allocations: 98.83 MB / 0.5596 GB, free: 3.461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.5476, allocations: 89.69 kB / 0.5596 GB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02894/0.5766, allocations: 10.92 MB / 0.5703 GB, free: 9.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5766, allocations: 0 / 0.5703 GB, free: 9.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.5767, allocations: 8 kB / 0.5703 GB, free: 9.984 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001117/0.5778, allocations: 0.6877 MB / 0.571 GB, free: 9.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5779, allocations: 8.031 kB / 0.571 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.578, allocations: 90.31 kB / 0.5711 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.5781, allocations: 59.3 kB / 0.5711 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.5811, allocations: 1.189 MB / 0.5723 GB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.5812, allocations: 31.03 kB / 0.5723 GB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.5812, allocations: 42.72 kB / 0.5724 GB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.582, allocations: 497.4 kB / 0.5728 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.582, allocations: 0 / 0.5728 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.5821, allocations: 16.5 kB / 0.5729 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.5821, allocations: 20.77 kB / 0.5729 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.5826, allocations: 364.3 kB / 0.5732 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.5851, allocations: 2.078 MB / 0.5752 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.5855, allocations: 237.5 kB / 0.5755 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.5857, allocations: 136.4 kB / 0.5756 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.5858, allocations: 4.188 kB / 0.5756 GB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.5858, allocations: 38.12 kB / 0.5756 GB, free: 5.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.5858, allocations: 0 / 0.5756 GB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.00111/0.5869, allocations: 0.6882 MB / 0.5763 GB, free: 4.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.587, allocations: 85.14 kB / 0.5764 GB, free: 4.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.5874, allocations: 335.2 kB / 0.5767 GB, free: 4.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5874, allocations: 25.7 kB / 0.5767 GB, free: 4.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.5876, allocations: 291.7 kB / 0.577 GB, free: 3.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.5876, allocations: 84.77 kB / 0.5771 GB, free: 3.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.5877, allocations: 11 kB / 0.5771 GB, free: 3.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5878, allocations: 344.8 kB / 0.5774 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.588, allocations: 87.3 kB / 0.5775 GB, free: 3.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.5882, allocations: 270.1 kB / 0.5778 GB, free: 3.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.5885, allocations: 141 kB / 0.5779 GB, free: 2.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5885, allocations: 8 kB / 0.5779 GB, free: 2.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006532/0.5891, allocations: 442.8 kB / 0.5783 GB, free: 2.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5892, allocations: 8 kB / 0.5784 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5892, allocations: 8 kB / 0.5784 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.5894, allocations: 54.52 kB / 0.5784 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.5897, allocations: 80.14 kB / 0.5785 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.591, allocations: 1.497 MB / 0.58 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.5913, allocations: 27.89 kB / 0.58 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.5913, allocations: 23.81 kB / 0.58 GB, free: 0.8633 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.5915, allocations: 129.3 kB / 0.5801 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.5915, allocations: 35.53 kB / 0.5802 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.5919, allocations: 231.8 kB / 0.5804 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5919, allocations: 7.953 kB / 0.5804 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5919, allocations: 3.984 kB / 0.5804 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5919, allocations: 4 kB / 0.5804 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.5928, allocations: 0.6609 MB / 0.581 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5928, allocations: 0 / 0.581 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.5931, allocations: 55.28 kB / 0.5811 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5931, allocations: 3.953 kB / 0.5811 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.5931, allocations: 4 kB / 0.5811 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5931, allocations: 0 / 0.5811 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5931, allocations: 3.938 kB / 0.5811 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.5936, allocations: 468.4 kB / 0.5816 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5938, allocations: 122.5 kB / 0.5817 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.5938, allocations: 7.047 kB / 0.5817 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.594, allocations: 11.94 kB / 0.5817 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.594, allocations: 15.92 kB / 0.5817 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.594, allocations: 7.125 kB / 0.5817 GB, free: 15.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.5943, allocations: 250.4 kB / 0.5819 GB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5943, allocations: 0 / 0.5819 GB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.5947, allocations: 97.75 kB / 0.582 GB, free: 15.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.001001/0.5958, allocations: 1.159 MB / 0.5832 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.5964, allocations: 379 kB / 0.5835 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5964, allocations: 4.062 kB / 0.5835 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.5965, allocations: 89.3 kB / 0.5836 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.597, allocations: 87.27 kB / 0.5837 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5983, allocations: 0.7221 MB / 0.5844 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.5988, allocations: 0.8686 MB / 0.5853 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.5991, allocations: 80.12 kB / 0.5853 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5993, allocations: 148.2 kB / 0.5855 GB, free: 11.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5993, allocations: 7.938 kB / 0.5855 GB, free: 11.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.6215, allocations: 7.794 MB / 0.5931 GB, free: 4.016 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.6217, allocations: 182.5 kB / 0.5933 GB, free: 3.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.815, allocations: 0 / 0.5933 GB, free: 3.793 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat does not exist to compare? outputFormat=mat