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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 112.1 kB / 17.68 MB, free: 5.473 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.001668/0.001669, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3716/0.3716, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.38 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1682, allocations: 58.06 MB / 458.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008483/0.1767, allocations: 5.497 MB / 463.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1791, allocations: 1.305 MB / 465.1 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1794, allocations: 19.88 kB / 465.1 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.18, allocations: 135.1 kB / 465.3 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.181, allocations: 370.3 kB / 465.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1813, allocations: 139.8 kB / 465.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009283/0.1822, allocations: 0.7476 MB / 466.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.1826, allocations: 204.1 kB / 466.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.1831, allocations: 334.6 kB / 467 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/0.1838, allocations: 382.7 kB / 467.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.1839, allocations: 36 kB / 467.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.184, allocations: 36 kB / 467.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.1843, allocations: 191.5 kB / 467.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1846, allocations: 246.8 kB / 467.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.1853, allocations: 0.5371 MB / 468.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.1853, allocations: 7.938 kB / 468.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1853, allocations: 0 / 468.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.1854, allocations: 0 / 468.5 MB, free: 13.13 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001536/0.1869, allocations: 0.7853 MB / 469.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.187, allocations: 16.03 kB / 469.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1871, allocations: 52.28 kB / 469.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.188, allocations: 492.3 kB / 469.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.188, allocations: 32.94 kB / 469.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.1881, allocations: 40 kB / 469.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.1889, allocations: 0.4961 MB / 470.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1889, allocations: 7.938 kB / 470.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.189, allocations: 16 kB / 470.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.189, allocations: 21 kB / 470.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.1896, allocations: 367.6 kB / 470.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.1922, allocations: 2.071 MB / 472.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.1927, allocations: 244.8 kB / 473.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1929, allocations: 133.7 kB / 473.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.193, allocations: 4 kB / 473.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.193, allocations: 30.56 kB / 473.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.193, allocations: 0 / 473.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001298/0.1943, allocations: 0.7695 MB / 474 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.1944, allocations: 81.11 kB / 474.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.1948, allocations: 385.4 kB / 474.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1948, allocations: 29.7 kB / 474.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.1951, allocations: 291.1 kB / 474.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.1951, allocations: 78.84 kB / 474.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1952, allocations: 82.05 kB / 474.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1954, allocations: 350.8 kB / 475.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1956, allocations: 88.84 kB / 475.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.1959, allocations: 277.2 kB / 475.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.1963, allocations: 411.2 kB / 476 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1964, allocations: 0 / 476 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006943/0.1971, allocations: 453.3 kB / 476.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1971, allocations: 8 kB / 476.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1971, allocations: 8 kB / 476.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.1973, allocations: 53.45 kB / 476.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1976, allocations: 87.84 kB / 476.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.1992, allocations: 1.606 MB / 478.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1994, allocations: 16 kB / 478.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1994, allocations: 16 kB / 478.3 MB, free: 2.59 MB / 350.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: 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 (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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.1997, allocations: 205.6 kB / 478.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.1997, allocations: 47.34 kB / 478.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.2001, allocations: 251.5 kB / 478.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2001, allocations: 0 / 478.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2001, allocations: 4 kB / 478.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2001, allocations: 0 / 478.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008675/0.201, allocations: 0.6787 MB / 479.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.201, allocations: 0 / 479.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.2013, allocations: 51.91 kB / 479.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2013, allocations: 4 kB / 479.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2013, allocations: 4.219 kB / 479.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2013, allocations: 8 kB / 479.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2013, allocations: 0 / 479.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.2019, allocations: 444 kB / 479.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.202, allocations: 124.7 kB / 480.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.2021, allocations: 0 / 480.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2022, allocations: 16.05 kB / 480.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2023, allocations: 15.98 kB / 480.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2023, allocations: 4 kB / 480.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.2025, allocations: 255.2 kB / 480.4 MB, free: 408 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2025, allocations: 0 / 480.4 MB, free: 408 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.203, allocations: 92 kB / 480.4 MB, free: 316 kB / 350.1 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 (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.0001409/0.2031, allocations: 107.2 kB / 480.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.2039, allocations: 395.2 kB / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2039, allocations: 0 / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2041, allocations: 96.2 kB / 481 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.2047, allocations: 96.31 kB / 481.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2066, allocations: 0.8376 MB / 482 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.2073, allocations: 0.87 MB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.2077, allocations: 76.14 kB / 482.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2078, allocations: 35.42 kB / 482.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2078, allocations: 0 / 482.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01308/0.2209, allocations: 3.551 MB / 486.5 MB, free: 10.21 MB / 366.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches