Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 113 kB / 17.68 MB, free: 5.355 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.001208/0.001208, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1763/0.1763, allocations: 38.04 MB / 330.5 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.94 kB / 400.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 58.07 MB / 458.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007603/0.121, allocations: 6.527 MB / 464.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.1251, allocations: 2.442 MB / 467.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.1255, allocations: 27.81 kB / 467.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1271, allocations: 0.6028 MB / 467.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.1286, allocations: 0.6847 MB / 468.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1297, allocations: 443 kB / 469 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1315, allocations: 1.365 MB / 470.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.1321, allocations: 487.9 kB / 470.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.133, allocations: 0.572 MB / 471.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.134, allocations: 0.7906 MB / 472.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1342, allocations: 75.94 kB / 472.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.1347, allocations: 271.6 kB / 472.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.1352, allocations: 0.5221 MB / 473.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005317/0.1358, allocations: 0.5247 MB / 473.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1372, allocations: 1.328 MB / 474.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1372, allocations: 0 / 474.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1372, allocations: 0 / 474.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1372, allocations: 0 / 474.9 MB, free: 6.656 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002279/0.1395, allocations: 1.326 MB / 476.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1396, allocations: 15.89 kB / 476.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.1405, allocations: 203.5 kB / 476.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.1418, allocations: 0.7057 MB / 477.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.1419, allocations: 66.34 kB / 477.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.1421, allocations: 92.11 kB / 477.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.1441, allocations: 1.392 MB / 478.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.1441, allocations: 7.938 kB / 478.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/0.1442, allocations: 39.92 kB / 478.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002818/0.1445, allocations: 117.9 kB / 478.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.1461, allocations: 1.097 MB / 480 MB, free: 1.402 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/0.1522, allocations: 5.934 MB / 485.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/0.1532, allocations: 0.7138 MB / 486.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.1537, allocations: 315.3 kB / 487 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.1538, allocations: 16.53 kB / 487 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.1544, allocations: 480.5 kB / 487.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.1544, allocations: 0 / 487.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003073/0.1575, allocations: 2.144 MB / 489.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1576, allocations: 166.8 kB / 489.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.1583, allocations: 0.6366 MB / 490.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.1583, allocations: 37.7 kB / 490.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.1587, allocations: 0.5366 MB / 491 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.1589, allocations: 228.8 kB / 491.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.1592, allocations: 210.8 kB / 491.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1594, allocations: 386.7 kB / 491.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.1598, allocations: 346.3 kB / 492.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.1606, allocations: 0.7659 MB / 492.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.1619, allocations: 1.24 MB / 494.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1619, allocations: 4 kB / 494.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002245/0.1642, allocations: 1.439 MB / 495.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.1643, allocations: 45.86 kB / 495.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001293/0.1656, allocations: 0.7893 MB / 496.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007013/0.1663, allocations: 249.6 kB / 496.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.1669, allocations: 215.6 kB / 496.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.1713, allocations: 4.382 MB / 0.4895 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.1721, allocations: 55.97 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.1722, allocations: 59.98 kB / 0.4896 GB, free: 10.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.1728, allocations: 395 kB / 0.49 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1729, allocations: 79 kB / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.1742, allocations: 0.8593 MB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1742, allocations: 8 kB / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1742, allocations: 0 / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.1742, allocations: 3.984 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.1767, allocations: 1.767 MB / 0.4926 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.1767, allocations: 4.062 kB / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.1774, allocations: 151.8 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.1774, allocations: 4 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.1775, allocations: 23.98 kB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1775, allocations: 4 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1775, allocations: 4.156 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1791, allocations: 1.305 MB / 0.4941 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.1794, allocations: 208.1 kB / 0.4943 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.1795, allocations: 16 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.1799, allocations: 27.97 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.18, allocations: 44.45 kB / 0.4944 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.18, allocations: 43.89 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.1805, allocations: 427 kB / 0.4948 GB, free: 5.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1805, allocations: 0 / 0.4948 GB, free: 5.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.1814, allocations: 236 kB / 0.495 GB, free: 5.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001538/0.1815, allocations: 122.6 kB / 0.4951 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.1833, allocations: 1.241 MB / 0.4964 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1833, allocations: 0 / 0.4964 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.1839, allocations: 470.3 kB / 0.4968 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.1846, allocations: 141.2 kB / 0.4969 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.1875, allocations: 1.96 MB / 0.4989 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.1882, allocations: 1.11 MB / 0.4999 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006248/0.1888, allocations: 298.4 kB / 0.5002 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.189, allocations: 59.44 kB / 0.5003 GB, free: 15.53 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.189, allocations: 0 / 0.5003 GB, free: 15.53 MB / 398.1 MB Notification: Performance of Templates: time 0.01488/0.2039, allocations: 8.568 MB / 0.5086 GB, free: 7.027 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches