Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 110.2 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.596/2.596, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3346/0.3346, allocations: 38.02 MB / 330.1 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 66.09 kB / 399 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1735, allocations: 58.07 MB / 457 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.01276/0.1863, allocations: 5.19 MB / 462.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.1922, allocations: 1.737 MB / 463.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009236/0.1932, allocations: 27.81 kB / 464 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.1951, allocations: 263 kB / 464.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.1966, allocations: 247 kB / 464.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.198, allocations: 239.6 kB / 464.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1994, allocations: 0.6039 MB / 465.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/0.2004, allocations: 264.3 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008938/0.2013, allocations: 274.9 kB / 465.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.2024, allocations: 350.8 kB / 466.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2026, allocations: 32 kB / 466.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.2033, allocations: 151.7 kB / 466.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.2037, allocations: 219.5 kB / 466.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.2044, allocations: 246.7 kB / 466.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.2054, allocations: 466.9 kB / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2054, allocations: 4 kB / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2054, allocations: 0 / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.2055, allocations: 0 / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003019/0.2085, allocations: 0.7582 MB / 468 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.2086, allocations: 11.89 kB / 468 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2097, allocations: 100.2 kB / 468.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2109, allocations: 400 kB / 468.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.211, allocations: 29.38 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.2113, allocations: 56.09 kB / 468.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.2131, allocations: 0.656 MB / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.2132, allocations: 11.88 kB / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2133, allocations: 19.98 kB / 469.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/0.2136, allocations: 52.97 kB / 469.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.2151, allocations: 491.5 kB / 469.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.2219, allocations: 3.152 MB / 473 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.2228, allocations: 245.3 kB / 473.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.2231, allocations: 117.7 kB / 473.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.807e-05/0.2232, allocations: 11.94 kB / 473.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.2233, allocations: 50.48 kB / 473.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 4.85e-06/0.2233, allocations: 0 / 473.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002677/0.226, allocations: 0.8817 MB / 474.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.2261, allocations: 85.23 kB / 474.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.2268, allocations: 328.4 kB / 474.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.2268, allocations: 25.7 kB / 474.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.2272, allocations: 299 kB / 475 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2273, allocations: 86.75 kB / 475.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2276, allocations: 90.03 kB / 475.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.2278, allocations: 350.7 kB / 475.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.2282, allocations: 132.8 kB / 475.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.2288, allocations: 325.1 kB / 476 MB, free: 4.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2299, allocations: 0.501 MB / 476.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.23, allocations: 8 kB / 476.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00189/0.2319, allocations: 0.5881 MB / 477.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.2319, allocations: 8 kB / 477.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009816/0.2329, allocations: 326 kB / 477.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007858/0.2337, allocations: 117.6 kB / 477.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.2343, allocations: 91.83 kB / 477.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.2393, allocations: 3.277 MB / 480.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.24, allocations: 31.98 kB / 480.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.2401, allocations: 20 kB / 480.9 MB, free: 15.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005401/0.2407, allocations: 205.7 kB / 481.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.2408, allocations: 39.62 kB / 481.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008519/0.2417, allocations: 312.9 kB / 481.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.2417, allocations: 8 kB / 481.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2417, allocations: 3.938 kB / 481.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.2418, allocations: 7.984 kB / 481.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.2438, allocations: 0.8004 MB / 482.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2438, allocations: 0 / 482.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.2444, allocations: 63.91 kB / 482.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.2444, allocations: 8 kB / 482.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.2445, allocations: 11.98 kB / 482.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.2445, allocations: 4 kB / 482.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2445, allocations: 0 / 482.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2457, allocations: 0.4954 MB / 482.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.246, allocations: 144.7 kB / 483 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.2461, allocations: 0 / 483 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2465, allocations: 11.98 kB / 483 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.2466, allocations: 19.98 kB / 483 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.2467, allocations: 4 kB / 483 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.247, allocations: 223 kB / 483.3 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.247, allocations: 0 / 483.3 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001117/0.2482, allocations: 100 kB / 483.4 MB, free: 12.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.2484, allocations: 111.1 kB / 483.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2503, allocations: 0.6079 MB / 484.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2503, allocations: 4.062 kB / 484.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.2507, allocations: 130.2 kB / 484.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.2516, allocations: 70.72 kB / 484.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.2553, allocations: 1.248 MB / 485.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/0.2561, allocations: 0.866 MB / 486.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.2563, allocations: 31.44 kB / 486.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2563, allocations: 4 kB / 486.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of Templates: time 0.01754/0.2739, allocations: 6.5 MB / 492.9 MB, free: 3.246 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches