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: translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.627/1.627, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0007475/0.0007474, allocations: 93.5 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2073/0.2073, allocations: 38.08 MB / 358.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004254, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3969, allocations: 56.32 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5605, allocations: 95.89 MB / 0.5639 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5608, allocations: 103.8 kB / 0.564 GB, free: 6.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03798/0.5988, allocations: 12.87 MB / 0.5766 GB, free: 9.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.49e-06/0.5989, allocations: 0 / 0.5766 GB, free: 9.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.221e-05/0.599, allocations: 11.94 kB / 0.5766 GB, free: 9.223 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.001986/0.601, allocations: 0.6802 MB / 0.5773 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.601, allocations: 8.031 kB / 0.5773 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.602, allocations: 96.31 kB / 0.5774 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.6035, allocations: 0.5778 MB / 0.5779 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.6036, allocations: 25.38 kB / 0.578 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6037, allocations: 32.38 kB / 0.578 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/0.6046, allocations: 473.3 kB / 0.5784 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.6046, allocations: 15.84 kB / 0.5785 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.6046, allocations: 12 kB / 0.5785 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.6047, allocations: 24.97 kB / 0.5785 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.6053, allocations: 339.7 kB / 0.5788 GB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.6081, allocations: 1.629 MB / 0.5804 GB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.6085, allocations: 177.1 kB / 0.5806 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.6087, allocations: 113.7 kB / 0.5807 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6087, allocations: 7.922 kB / 0.5807 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.6088, allocations: 38.56 kB / 0.5807 GB, free: 4.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.765e-06/0.6088, allocations: 4 kB / 0.5807 GB, free: 4.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001887/0.6107, allocations: 0.7753 MB / 0.5815 GB, free: 3.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.6107, allocations: 81.05 kB / 0.5816 GB, free: 3.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.6112, allocations: 312.4 kB / 0.5819 GB, free: 3.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.6112, allocations: 25.7 kB / 0.5819 GB, free: 3.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.6114, allocations: 247.6 kB / 0.5821 GB, free: 3.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.6115, allocations: 82.95 kB / 0.5822 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.6115, allocations: 4 kB / 0.5822 GB, free: 3.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6117, allocations: 346.8 kB / 0.5825 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.6118, allocations: 95.94 kB / 0.5826 GB, free: 2.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.6121, allocations: 196.6 kB / 0.5828 GB, free: 2.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.6125, allocations: 332.3 kB / 0.5831 GB, free: 2.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6126, allocations: 0 / 0.5831 GB, free: 2.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008425/0.6134, allocations: 425.8 kB / 0.5835 GB, free: 1.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6134, allocations: 12.06 kB / 0.5836 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004993/0.614, allocations: 252.6 kB / 0.5838 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.6143, allocations: 84.66 kB / 0.5839 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.6146, allocations: 59.91 kB / 0.5839 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.6164, allocations: 1.597 MB / 0.5855 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.6167, allocations: 8 kB / 0.5855 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.6167, allocations: 12 kB / 0.5855 GB, free: 15.51 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.0002884/0.617, allocations: 197.7 kB / 0.5857 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.6171, allocations: 31.56 kB / 0.5857 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.6176, allocations: 272.7 kB / 0.586 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6176, allocations: 4 kB / 0.586 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.6176, allocations: 0 / 0.586 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6176, allocations: 0 / 0.586 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.6189, allocations: 0.758 MB / 0.5867 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6189, allocations: 4 kB / 0.5867 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.6192, allocations: 51.91 kB / 0.5868 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6192, allocations: 0 / 0.5868 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.6193, allocations: 8 kB / 0.5868 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6193, allocations: 0 / 0.5868 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6193, allocations: 4.062 kB / 0.5868 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.6199, allocations: 460.5 kB / 0.5872 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.62, allocations: 108.8 kB / 0.5873 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.6201, allocations: 7.938 kB / 0.5874 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.6202, allocations: 8 kB / 0.5874 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6203, allocations: 27.91 kB / 0.5874 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.6203, allocations: 7.938 kB / 0.5874 GB, free: 13.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.6206, allocations: 211.1 kB / 0.5876 GB, free: 13.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.846e-06/0.6206, allocations: 0 / 0.5876 GB, free: 13.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.621, allocations: 99.94 kB / 0.5877 GB, free: 13.17 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.0002475/0.6213, allocations: 135.3 kB / 0.5878 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.622, allocations: 371.6 kB / 0.5882 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.622, allocations: 3.938 kB / 0.5882 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.6222, allocations: 100 kB / 0.5883 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.6228, allocations: 61.39 kB / 0.5883 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.6246, allocations: 1.125 MB / 0.5894 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.6251, allocations: 0.8503 MB / 0.5903 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002575/0.6254, allocations: 70.89 kB / 0.5903 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.6254, allocations: 31.44 kB / 0.5904 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6255, allocations: 0 / 0.5904 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.009037/0.6345, allocations: 3.486 MB / 0.5938 GB, free: 6.871 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches