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.001141/0.001141, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.216/1.216, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008136/0.0008136, allocations: 94.62 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.154/0.154, allocations: 38.07 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3474, allocations: 98.93 MB / 0.5658 GB, free: 3.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3477, allocations: 95.94 kB / 0.5659 GB, free: 3.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.3752, allocations: 10.92 MB / 0.5765 GB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3753, allocations: 4 kB / 0.5765 GB, free: 8.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.3753, allocations: 8 kB / 0.5765 GB, free: 8.305 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001174/0.3765, allocations: 0.7624 MB / 0.5773 GB, free: 7.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3765, allocations: 8.031 kB / 0.5773 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.3767, allocations: 78.53 kB / 0.5774 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.3768, allocations: 55.3 kB / 0.5774 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.3796, allocations: 1.205 MB / 0.5786 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3797, allocations: 36.98 kB / 0.5786 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.3797, allocations: 36 kB / 0.5787 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.3804, allocations: 496 kB / 0.5791 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3805, allocations: 4 kB / 0.5791 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.3805, allocations: 16 kB / 0.5792 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.3806, allocations: 25 kB / 0.5792 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.3811, allocations: 367.6 kB / 0.5795 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.3834, allocations: 2.095 MB / 0.5816 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.3838, allocations: 233.9 kB / 0.5818 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3839, allocations: 4.25 kB / 0.5818 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3839, allocations: 34.75 kB / 0.5818 GB, free: 2.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3839, allocations: 4 kB / 0.5818 GB, free: 2.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001337/0.3852, allocations: 0.9468 MB / 0.5828 GB, free: 1.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3853, allocations: 81.11 kB / 0.5828 GB, free: 1.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3857, allocations: 324.7 kB / 0.5831 GB, free: 1.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3857, allocations: 37.83 kB / 0.5832 GB, free: 1.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3859, allocations: 287.1 kB / 0.5835 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.3859, allocations: 86.75 kB / 0.5835 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.386, allocations: 8 kB / 0.5835 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3861, allocations: 354.8 kB / 0.5839 GB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3862, allocations: 88.81 kB / 0.584 GB, free: 244 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3865, allocations: 278 kB / 0.5842 GB, free: 15.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3867, allocations: 139.6 kB / 0.5844 GB, free: 15.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3867, allocations: 7.938 kB / 0.5844 GB, free: 15.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006779/0.3874, allocations: 465.2 kB / 0.5848 GB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3874, allocations: 8 kB / 0.5848 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3874, allocations: 12.64 kB / 0.5848 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.3877, allocations: 68.81 kB / 0.5849 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3879, allocations: 83.84 kB / 0.585 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3893, allocations: 1.609 MB / 0.5866 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3895, allocations: 19.91 kB / 0.5866 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3896, allocations: 23.94 kB / 0.5866 GB, free: 13.31 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.3898, allocations: 197.7 kB / 0.5868 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.3898, allocations: 39.48 kB / 0.5868 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.3903, allocations: 354 kB / 0.5872 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3903, allocations: 0 / 0.5872 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3903, allocations: 4 kB / 0.5872 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3903, allocations: 0 / 0.5872 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.3912, allocations: 0.7783 MB / 0.5879 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3912, allocations: 0 / 0.5879 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3914, allocations: 43.95 kB / 0.588 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.602e-05/0.3915, allocations: 24.84 kB / 0.588 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3915, allocations: 4 kB / 0.588 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008282/0.3923, allocations: 1.381 MB / 0.5893 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3923, allocations: 0 / 0.5893 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.3929, allocations: 0.5649 MB / 0.5899 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.393, allocations: 116.7 kB / 0.59 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.3931, allocations: 8 kB / 0.59 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3932, allocations: 8 kB / 0.59 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.3933, allocations: 15.97 kB / 0.59 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3933, allocations: 8 kB / 0.59 GB, free: 9.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002436/0.3936, allocations: 255.2 kB / 0.5903 GB, free: 9.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 0 / 0.5903 GB, free: 9.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004697/0.3941, allocations: 96 kB / 0.5904 GB, free: 9.109 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.3951, allocations: 1.282 MB / 0.5916 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.3957, allocations: 387.5 kB / 0.592 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3957, allocations: 0.5 kB / 0.592 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.3959, allocations: 206.6 kB / 0.5922 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3964, allocations: 91.89 kB / 0.5923 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.401, allocations: 6.696 MB / 0.5988 GB, free: 196 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.4014, allocations: 0.8698 MB / 0.5997 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.4017, allocations: 80.12 kB / 0.5998 GB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.4019, allocations: 151.4 kB / 0.5999 GB, free: 15.07 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4019, allocations: 0 / 0.5999 GB, free: 15.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.4219, allocations: 7.867 MB / 0.6076 GB, free: 7.27 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.4221, allocations: 211.6 kB / 0.6078 GB, free: 7.027 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.489, allocations: 0 / 0.6078 GB, free: 7.027 MB / 442.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