Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009979/0.0009981, 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.46/1.46, 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.0007716/0.0007714, allocations: 82.72 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.153/0.153, allocations: 37.99 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.755e-05, allocations: 4 kB / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09059, allocations: 56.32 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4739, allocations: 100.8 MB / 0.5614 GB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4741, allocations: 85.2 kB / 0.5615 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03431/0.5084, allocations: 12.56 MB / 0.5738 GB, free: 7.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.5085, allocations: 0 / 0.5738 GB, free: 7.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.5085, allocations: 12 kB / 0.5738 GB, free: 7.133 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001034/0.5096, allocations: 0.6603 MB / 0.5744 GB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5096, allocations: 8.031 kB / 0.5744 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.5101, allocations: 102 kB / 0.5745 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.5122, allocations: 0.8573 MB / 0.5753 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.5122, allocations: 31.73 kB / 0.5754 GB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.5123, allocations: 42 kB / 0.5754 GB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.5132, allocations: 0.6151 MB / 0.576 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5132, allocations: 3.875 kB / 0.576 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.5132, allocations: 22.56 kB / 0.576 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.5133, allocations: 24.77 kB / 0.5761 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.514, allocations: 445.8 kB / 0.5765 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5171, allocations: 2.921 MB / 0.5793 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.5174, allocations: 195.2 kB / 0.5795 GB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.5176, allocations: 124.3 kB / 0.5797 GB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.5177, allocations: 11.89 kB / 0.5797 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.5177, allocations: 42 kB / 0.5797 GB, free: 1.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 4.107e-06/0.5177, allocations: 3.984 kB / 0.5797 GB, free: 1.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001434/0.5192, allocations: 0.8544 MB / 0.5805 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.5192, allocations: 80.67 kB / 0.5806 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.5195, allocations: 290.2 kB / 0.5809 GB, free: 480 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.5196, allocations: 32.58 kB / 0.5809 GB, free: 444 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.5198, allocations: 291.2 kB / 0.5812 GB, free: 196 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.5199, allocations: 91.73 kB / 0.5813 GB, free: 116 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5199, allocations: 6.75 kB / 0.5813 GB, free: 116 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5201, allocations: 353.9 kB / 0.5816 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.5203, allocations: 142.1 kB / 0.5818 GB, free: 15.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.5206, allocations: 318.4 kB / 0.5821 GB, free: 15.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.5209, allocations: 215.2 kB / 0.5823 GB, free: 15.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5209, allocations: 4 kB / 0.5823 GB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009996/0.5219, allocations: 0.5719 MB / 0.5828 GB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.522, allocations: 8 kB / 0.5828 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005553/0.5225, allocations: 316.8 kB / 0.5832 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.5229, allocations: 84.59 kB / 0.5832 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.5232, allocations: 91.27 kB / 0.5833 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.5249, allocations: 1.591 MB / 0.5849 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.5251, allocations: 27.39 kB / 0.5849 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.5252, allocations: 19.98 kB / 0.5849 GB, free: 12.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * 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.0001313/0.5253, allocations: 132.4 kB / 0.585 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.5254, allocations: 31.69 kB / 0.5851 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.526, allocations: 348.1 kB / 0.5854 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.526, allocations: 4 kB / 0.5854 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.526, allocations: 15.88 kB / 0.5854 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5261, allocations: 144 / 0.5854 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5274, allocations: 0.8726 MB / 0.5863 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5274, allocations: 0 / 0.5863 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.5277, allocations: 67.62 kB / 0.5863 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5278, allocations: 3.953 kB / 0.5863 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.5278, allocations: 4 kB / 0.5863 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5278, allocations: 8 kB / 0.5864 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5278, allocations: 3.984 kB / 0.5864 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.5285, allocations: 0.5808 MB / 0.5869 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.5286, allocations: 108.6 kB / 0.587 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.5287, allocations: 11.34 kB / 0.587 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.5289, allocations: 15.36 kB / 0.5871 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5289, allocations: 15.36 kB / 0.5871 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5289, allocations: 8 kB / 0.5871 GB, free: 10.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.5291, allocations: 224.2 kB / 0.5873 GB, free: 10.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5291, allocations: 0 / 0.5873 GB, free: 10.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.5296, allocations: 118 kB / 0.5874 GB, free: 10.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0001982/0.5298, allocations: 124.3 kB / 0.5875 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.5306, allocations: 479.2 kB / 0.588 GB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5306, allocations: 0 / 0.588 GB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5309, allocations: 139 kB / 0.5881 GB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.5313, allocations: 62.38 kB / 0.5882 GB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5327, allocations: 0.7894 MB / 0.5889 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.5332, allocations: 0.8814 MB / 0.5898 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00031/0.5335, allocations: 107.2 kB / 0.5899 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.5336, allocations: 27.44 kB / 0.5899 GB, free: 8.023 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5336, allocations: 0 / 0.5899 GB, free: 8.023 MB / 394.7 MB Notification: Performance of Templates: time 0.00757/0.5412, allocations: 3.458 MB / 0.5933 GB, free: 4.586 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches