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.001097/0.001097, allocations: 99.58 kB / 16.5 MB, free: 6.641 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.001123/0.001123, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.379/1.379, allocations: 222.9 MB / 241.1 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.1718/0.1718, allocations: 38.03 MB / 329.3 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 65.42 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 58.06 MB / 456.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008441/0.1262, allocations: 6.536 MB / 462.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1293, allocations: 1.628 MB / 464.3 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.1298, allocations: 43.69 kB / 464.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.1303, allocations: 111.3 kB / 464.5 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008725/0.1313, allocations: 346.6 kB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1316, allocations: 115.9 kB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1327, allocations: 1.142 MB / 466.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.133, allocations: 160.2 kB / 466.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.1334, allocations: 290.6 kB / 466.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.134, allocations: 402.6 kB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.1341, allocations: 27.94 kB / 466.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.1342, allocations: 32 kB / 467 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1344, allocations: 179.5 kB / 467.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.1346, allocations: 242.7 kB / 467.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.1352, allocations: 0.506 MB / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.1352, allocations: 0 / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1352, allocations: 0 / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1352, allocations: 0 / 467.9 MB, free: 12.75 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.001667/0.1369, allocations: 0.8085 MB / 468.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.1369, allocations: 8.031 kB / 468.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1371, allocations: 52.28 kB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.1379, allocations: 460.5 kB / 469.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.1379, allocations: 32.94 kB / 469.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.138, allocations: 36 kB / 469.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.1389, allocations: 0.5 MB / 469.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1389, allocations: 0 / 469.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.139, allocations: 16 kB / 469.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.139, allocations: 21 kB / 469.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.1396, allocations: 367.6 kB / 470.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1421, allocations: 2.087 MB / 472.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.1426, allocations: 241.2 kB / 472.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1428, allocations: 132.2 kB / 472.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1429, allocations: 4 kB / 472.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1429, allocations: 34.56 kB / 472.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.694e-06/0.1429, allocations: 4 kB / 472.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001291/0.1442, allocations: 0.7595 MB / 473.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.1443, allocations: 93.03 kB / 473.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1447, allocations: 373.5 kB / 473.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1447, allocations: 33.7 kB / 473.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.1449, allocations: 291 kB / 474.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.145, allocations: 90.95 kB / 474.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1451, allocations: 82.03 kB / 474.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1453, allocations: 350.8 kB / 474.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1455, allocations: 84.83 kB / 474.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1457, allocations: 273.2 kB / 475.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.1462, allocations: 411.2 kB / 475.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1462, allocations: 0 / 475.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007069/0.1469, allocations: 454 kB / 475.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.147, allocations: 12 kB / 475.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.147, allocations: 4 kB / 475.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.1472, allocations: 52.83 kB / 476 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.1475, allocations: 87.83 kB / 476.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.149, allocations: 1.492 MB / 477.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1492, allocations: 23.89 kB / 477.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1492, allocations: 24.19 kB / 477.6 MB, free: 2.32 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.0002415/0.1495, allocations: 201.6 kB / 477.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.1496, allocations: 43.59 kB / 477.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.1499, allocations: 240.1 kB / 478.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1499, allocations: 4 kB / 478.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.15, allocations: 3.938 kB / 478.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.15, allocations: 3.984 kB / 478.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.1508, allocations: 0.6748 MB / 478.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1508, allocations: 0 / 478.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1511, allocations: 55.94 kB / 478.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1511, allocations: 0 / 478.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1511, allocations: 11.94 kB / 478.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1511, allocations: 0 / 478.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1511, allocations: 3.984 kB / 478.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.1517, allocations: 432.2 kB / 479.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1518, allocations: 128.7 kB / 479.4 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.1518, allocations: 8 kB / 479.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.152, allocations: 3.938 kB / 479.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.152, allocations: 19.97 kB / 479.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.152, allocations: 4 kB / 479.4 MB, free: 404 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1523, allocations: 259.2 kB / 479.7 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 479.7 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.1527, allocations: 88 kB / 479.7 MB, free: 56 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.0001382/0.1529, allocations: 107.2 kB / 479.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.1535, allocations: 391.7 kB / 480.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1535, allocations: 4.125 kB / 480.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1537, allocations: 99.83 kB / 480.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.1543, allocations: 84.27 kB / 480.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1557, allocations: 1.017 MB / 481.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1561, allocations: 0.8626 MB / 482.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.1564, allocations: 80.12 kB / 482.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.1564, allocations: 31.44 kB / 482.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1564, allocations: 0 / 482.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.007901/0.1644, allocations: 3.42 MB / 485.8 MB, free: 9.93 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/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