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: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 172.4 kB / 17.4 MB, free: 4.391 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.583/1.583, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0007415/0.0007414, allocations: 82.38 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1909/0.1909, allocations: 38.08 MB / 358.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 8 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 56.33 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.4372, allocations: 98.97 MB / 0.5669 GB, free: 3.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.4375, allocations: 95.81 kB / 0.567 GB, free: 3.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03036/0.4679, allocations: 10.86 MB / 0.5776 GB, free: 8.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4679, allocations: 4 kB / 0.5776 GB, free: 8.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.243e-05/0.468, allocations: 15.98 kB / 0.5776 GB, free: 8.156 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.00147/0.4695, allocations: 0.743 MB / 0.5784 GB, free: 7.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4695, allocations: 15.97 kB / 0.5784 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.4697, allocations: 52.28 kB / 0.5784 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.4713, allocations: 0.7888 MB / 0.5792 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.4713, allocations: 29.38 kB / 0.5792 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.4714, allocations: 36.38 kB / 0.5793 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.4722, allocations: 0.4968 MB / 0.5798 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4723, allocations: 7.875 kB / 0.5798 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.4723, allocations: 16 kB / 0.5798 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.4724, allocations: 21 kB / 0.5798 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.4729, allocations: 363.6 kB / 0.5801 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.4755, allocations: 2.087 MB / 0.5822 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.4759, allocations: 233.3 kB / 0.5824 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.4761, allocations: 141.6 kB / 0.5825 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4761, allocations: 8 kB / 0.5826 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4762, allocations: 30.56 kB / 0.5826 GB, free: 2.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.4762, allocations: 0 / 0.5826 GB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001185/0.4774, allocations: 0.7573 MB / 0.5833 GB, free: 1.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4774, allocations: 81.23 kB / 0.5834 GB, free: 1.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.4778, allocations: 381.5 kB / 0.5838 GB, free: 1.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4778, allocations: 29.7 kB / 0.5838 GB, free: 1.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.478, allocations: 291 kB / 0.5841 GB, free: 1.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.478, allocations: 78.91 kB / 0.5841 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.4781, allocations: 8 kB / 0.5842 GB, free: 1.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4782, allocations: 358.7 kB / 0.5845 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4783, allocations: 80.83 kB / 0.5846 GB, free: 0.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.4786, allocations: 281.7 kB / 0.5848 GB, free: 312 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.479, allocations: 400.3 kB / 0.5852 GB, free: 15.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.479, allocations: 4 kB / 0.5852 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006671/0.4797, allocations: 461.6 kB / 0.5857 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4797, allocations: 10.5 kB / 0.5857 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4797, allocations: 4 kB / 0.5857 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.4799, allocations: 56.81 kB / 0.5857 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.4802, allocations: 84.17 kB / 0.5858 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.4814, allocations: 1.492 MB / 0.5873 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4817, allocations: 20.06 kB / 0.5873 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4817, allocations: 20 kB / 0.5873 GB, free: 13.54 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 (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.0002171/0.4819, allocations: 209.5 kB / 0.5875 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.482, allocations: 35.53 kB / 0.5875 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.4823, allocations: 237 kB / 0.5878 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.4823, allocations: 4 kB / 0.5878 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4823, allocations: 3.984 kB / 0.5878 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4823, allocations: 7.938 kB / 0.5878 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.4831, allocations: 0.6747 MB / 0.5884 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4831, allocations: 192 / 0.5884 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.4834, allocations: 51.91 kB / 0.5885 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4834, allocations: 4 kB / 0.5885 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4834, allocations: 4 kB / 0.5885 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4834, allocations: 4 kB / 0.5885 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4834, allocations: 4.031 kB / 0.5885 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.4839, allocations: 440.7 kB / 0.5889 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.484, allocations: 120.6 kB / 0.589 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.484, allocations: 8 kB / 0.589 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4842, allocations: 8 kB / 0.5891 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.4842, allocations: 19.92 kB / 0.5891 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4842, allocations: 15.98 kB / 0.5891 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.4845, allocations: 247.2 kB / 0.5893 GB, free: 11.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4845, allocations: 4 kB / 0.5893 GB, free: 11.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.485, allocations: 103.9 kB / 0.5894 GB, free: 11.25 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 (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.0001958/0.4852, allocations: 138 kB / 0.5896 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.4858, allocations: 383.7 kB / 0.5899 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4858, allocations: 0 / 0.5899 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4859, allocations: 93.02 kB / 0.59 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.4865, allocations: 86.45 kB / 0.5901 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.488, allocations: 1.042 MB / 0.5911 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4884, allocations: 0.8667 MB / 0.592 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.4887, allocations: 80.12 kB / 0.592 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.4888, allocations: 31.44 kB / 0.5921 GB, free: 8.469 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4888, allocations: 0 / 0.5921 GB, free: 8.469 MB / 426.7 MB Notification: Performance of Templates: time 0.00875/0.4976, allocations: 3.746 MB / 0.5957 GB, free: 4.742 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches