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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.002586/0.002586, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.62/2.62, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3555/0.3555, allocations: 38.03 MB / 330.1 MB, free: 9.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 71.17 kB / 399 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1703, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.01537/0.1857, allocations: 5.353 MB / 462.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.1899, allocations: 1.511 MB / 463.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.1906, allocations: 31.81 kB / 463.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.1963, allocations: 382.6 kB / 464.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1975, allocations: 215 kB / 464.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1983, allocations: 163.7 kB / 464.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1997, allocations: 0.5529 MB / 465.2 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.2007, allocations: 365.8 kB / 465.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.2015, allocations: 254.9 kB / 465.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.2024, allocations: 287 kB / 466.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2026, allocations: 36 kB / 466.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.2032, allocations: 135.8 kB / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.2036, allocations: 183.5 kB / 466.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004587/0.2082, allocations: 226.9 kB / 466.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2092, allocations: 415 kB / 467.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.2092, allocations: 4 kB / 467.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2093, allocations: 0 / 467.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.2093, allocations: 0 / 467.1 MB, free: 14.33 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002106/0.2114, allocations: 0.7068 MB / 467.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.2115, allocations: 8.031 kB / 467.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.2126, allocations: 96.3 kB / 467.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.2136, allocations: 396 kB / 468.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.2136, allocations: 29.38 kB / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.2138, allocations: 56 kB / 468.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.215, allocations: 476.8 kB / 468.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.215, allocations: 0 / 468.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.2151, allocations: 16 kB / 468.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.2153, allocations: 24.98 kB / 468.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2163, allocations: 343.7 kB / 469.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.2198, allocations: 1.633 MB / 470.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.2203, allocations: 181.1 kB / 471 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.2206, allocations: 105.7 kB / 471.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.2207, allocations: 7.984 kB / 471.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.2207, allocations: 38.5 kB / 471.2 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/0.2207, allocations: 4 kB / 471.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00213/0.2229, allocations: 0.7793 MB / 471.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.2229, allocations: 77.11 kB / 472 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.2234, allocations: 312.4 kB / 472.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2235, allocations: 29.7 kB / 472.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.2237, allocations: 247.5 kB / 472.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2239, allocations: 78.92 kB / 472.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.224, allocations: 57.7 kB / 472.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2242, allocations: 346.9 kB / 473.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.2244, allocations: 99.94 kB / 473.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.2247, allocations: 196.5 kB / 473.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.2253, allocations: 331.4 kB / 473.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2253, allocations: 11.88 kB / 473.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009333/0.2263, allocations: 429.4 kB / 474.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2263, allocations: 4.438 kB / 474.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006371/0.2269, allocations: 270.9 kB / 474.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.2273, allocations: 76.78 kB / 474.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2276, allocations: 59.91 kB / 474.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.2296, allocations: 1.715 MB / 476.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.2299, allocations: 12.06 kB / 476.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.23, allocations: 23.97 kB / 476.3 MB, free: 4.547 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.2302, allocations: 181.7 kB / 476.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.2304, allocations: 35.61 kB / 476.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.2309, allocations: 266.7 kB / 476.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2309, allocations: 0 / 476.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2309, allocations: 8 kB / 476.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2309, allocations: 7.984 kB / 476.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2323, allocations: 0.742 MB / 477.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2324, allocations: 0 / 477.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.2327, allocations: 55.91 kB / 477.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2327, allocations: 4.062 kB / 477.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2327, allocations: 15.94 kB / 477.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2327, allocations: 0 / 477.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2327, allocations: 0 / 477.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.2333, allocations: 460.9 kB / 478 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.2334, allocations: 108.7 kB / 478.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.2335, allocations: 12.03 kB / 478.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2337, allocations: 4 kB / 478.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2337, allocations: 15.98 kB / 478.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2337, allocations: 4 kB / 478.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.234, allocations: 223 kB / 478.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.234, allocations: 0 / 478.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.2344, allocations: 84 kB / 478.4 MB, free: 2.227 MB / 350.1 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 (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.0001381/0.2346, allocations: 103.2 kB / 478.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.2354, allocations: 400.7 kB / 478.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2354, allocations: 3.938 kB / 478.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2355, allocations: 104.7 kB / 479 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.2361, allocations: 76.47 kB / 479.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.238, allocations: 1.117 MB / 480.2 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.2385, allocations: 0.8577 MB / 481.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.2386, allocations: 27.44 kB / 481.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2386, allocations: 0 / 481.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01169/0.2503, allocations: 5.256 MB / 486.4 MB, free: 10.22 MB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches