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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 119 kB / 17.78 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 189.2 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1996/0.1996, allocations: 38.5 MB / 342.5 MB, free: 8.051 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.58 kB / 479.1 MB, free: 33.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.141, allocations: 61.25 MB / 0.5277 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006817/0.1478, allocations: 4.582 MB / 0.5322 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.1509, allocations: 1.577 MB / 0.5337 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.1511, allocations: 11.94 kB / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.1519, allocations: 298.6 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.1525, allocations: 270.6 kB / 0.5343 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.1533, allocations: 255.4 kB / 0.5345 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.154, allocations: 0.6079 MB / 0.5351 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.1544, allocations: 212 kB / 0.5353 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1548, allocations: 270.9 kB / 0.5356 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.1554, allocations: 350.8 kB / 0.5359 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.1554, allocations: 36 kB / 0.5359 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.1557, allocations: 151.8 kB / 0.5361 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.156, allocations: 223.4 kB / 0.5363 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.1562, allocations: 254.7 kB / 0.5365 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000809/0.157, allocations: 0.5992 MB / 0.5371 GB, free: 7.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.157, allocations: 0 / 0.5371 GB, free: 7.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1571, allocations: 8 kB / 0.5371 GB, free: 7.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1571, allocations: 0 / 0.5371 GB, free: 7.16 MB / 398.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.001392/0.1585, allocations: 0.7692 MB / 0.5379 GB, free: 6.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1585, allocations: 11.89 kB / 0.5379 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.1591, allocations: 88.55 kB / 0.538 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.1597, allocations: 432.2 kB / 0.5384 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1597, allocations: 37.31 kB / 0.5384 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.1599, allocations: 56.11 kB / 0.5385 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.1609, allocations: 0.6638 MB / 0.5391 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1609, allocations: 4 kB / 0.5391 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.1609, allocations: 16 kB / 0.5392 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.1611, allocations: 48.97 kB / 0.5392 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.1619, allocations: 499.5 kB / 0.5397 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.1656, allocations: 3.148 MB / 0.5428 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.1661, allocations: 233.3 kB / 0.543 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1663, allocations: 117.7 kB / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.1663, allocations: 11.92 kB / 0.5431 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1663, allocations: 34.56 kB / 0.5431 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.1663, allocations: 4 kB / 0.5431 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001501/0.1678, allocations: 0.9045 MB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.1679, allocations: 85.14 kB / 0.5441 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.1682, allocations: 328.4 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1683, allocations: 29.7 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.1685, allocations: 299.9 kB / 0.5447 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.1686, allocations: 91.22 kB / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1687, allocations: 90.03 kB / 0.5449 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1689, allocations: 350.7 kB / 0.5452 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1691, allocations: 132.8 kB / 0.5454 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1695, allocations: 325.1 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.1701, allocations: 0.4887 MB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1701, allocations: 4 kB / 0.5462 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001105/0.1713, allocations: 0.5804 MB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1713, allocations: 8 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006276/0.1719, allocations: 338.3 kB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.1723, allocations: 113.6 kB / 0.5472 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1726, allocations: 87.83 kB / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.1758, allocations: 3.285 MB / 0.5505 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.176, allocations: 16 kB / 0.5505 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1761, allocations: 24 kB / 0.5505 GB, free: 8.535 MB / 414.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.0002851/0.1764, allocations: 221.6 kB / 0.5507 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.1764, allocations: 35.95 kB / 0.5507 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.177, allocations: 312.7 kB / 0.551 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.177, allocations: 4 kB / 0.551 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.177, allocations: 3.938 kB / 0.551 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.177, allocations: 0 / 0.551 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1782, allocations: 0.8043 MB / 0.5518 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1782, allocations: 0 / 0.5518 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1785, allocations: 63.95 kB / 0.5519 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1785, allocations: 3.938 kB / 0.5519 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1785, allocations: 8 kB / 0.5519 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1785, allocations: 3.938 kB / 0.5519 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1785, allocations: 4 kB / 0.5519 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.1792, allocations: 0.507 MB / 0.5524 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1793, allocations: 128.9 kB / 0.5525 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.1794, allocations: 8 kB / 0.5525 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1796, allocations: 11.92 kB / 0.5525 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.1796, allocations: 23.92 kB / 0.5526 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.1796, allocations: 11.98 kB / 0.5526 GB, free: 6.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.1799, allocations: 223.1 kB / 0.5528 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1799, allocations: 0 / 0.5528 GB, free: 6.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.1804, allocations: 92 kB / 0.5529 GB, free: 5.965 MB / 414.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.0001697/0.1805, allocations: 111.2 kB / 0.553 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.1815, allocations: 0.5723 MB / 0.5535 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1815, allocations: 0 / 0.5535 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1817, allocations: 124.4 kB / 0.5537 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.1822, allocations: 68.28 kB / 0.5537 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1839, allocations: 1.003 MB / 0.5547 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.1845, allocations: 0.8738 MB / 0.5556 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.1848, allocations: 115.2 kB / 0.5557 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.1848, allocations: 27.44 kB / 0.5557 GB, free: 2.992 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1848, allocations: 0 / 0.5557 GB, free: 2.992 MB / 414.1 MB Notification: Performance of Templates: time 0.009219/0.1941, allocations: 4 MB / 0.5596 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458395084366202]