Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008131/0.0008131, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003553/0.003553, allocations: 160.5 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8143/0.8143, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2208/0.2208, allocations: 29.42 MB / 290.9 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.028e-05, allocations: 6.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.004974/0.004994, allocations: 6.861 MB / 438.3 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.006792, allocations: 1.671 MB / 440 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.00703, allocations: 35.69 kB / 440 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.007487, allocations: 234.3 kB / 440.3 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.008241, allocations: 0.606 MB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.008504, allocations: 219.5 kB / 441.1 MB, free: 3.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007956/0.009299, allocations: 1.289 MB / 442.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.009542, allocations: 215 kB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006209/0.01016, allocations: 0.7476 MB / 443.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.01071, allocations: 0.6155 MB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.01078, allocations: 64 kB / 444 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.01086, allocations: 64 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.01105, allocations: 351 kB / 444.4 MB, free: 92 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1433/0.1543, allocations: 286.2 kB / 444.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007872/0.1551, allocations: 0.9186 MB / 445.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1551, allocations: 2.312 kB / 445.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1551, allocations: 0 / 445.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.1551, allocations: 3.125 kB / 445.6 MB, free: 45.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001246/0.1564, allocations: 1.169 MB / 446.8 MB, free: 44.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1564, allocations: 12.86 kB / 446.8 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1565, allocations: 98.45 kB / 446.9 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.1572, allocations: 0.6339 MB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1572, allocations: 48.03 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.1573, allocations: 61.41 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.158, allocations: 0.8706 MB / 448.5 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.158, allocations: 3.938 kB / 448.5 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.1581, allocations: 31.8 kB / 448.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.1581, allocations: 33.3 kB / 448.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.1586, allocations: 0.6697 MB / 449.3 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1603, allocations: 2.261 MB / 451.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.1608, allocations: 0.6254 MB / 452.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.1612, allocations: 390.4 kB / 452.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1612, allocations: 6.781 kB / 452.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.1615, allocations: 0.5332 MB / 453.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.523e-06/0.1615, allocations: 0 / 453.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001529/0.163, allocations: 2.062 MB / 455.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1631, allocations: 252.5 kB / 455.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1634, allocations: 0.5593 MB / 455.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1634, allocations: 40.23 kB / 456 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1635, allocations: 413.4 kB / 456.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.1636, allocations: 217.5 kB / 456.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.1637, allocations: 147.5 kB / 456.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.1637, allocations: 375.8 kB / 457.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1639, allocations: 283.4 kB / 457.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1642, allocations: 0.5005 MB / 457.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.1646, allocations: 0.8062 MB / 458.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1646, allocations: 0 / 458.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007722/0.1654, allocations: 0.9999 MB / 459.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1654, allocations: 64.36 kB / 459.7 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1654, allocations: 9.906 kB / 459.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.1656, allocations: 119.2 kB / 459.9 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1658, allocations: 140.4 kB / 460 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.1671, allocations: 3.296 MB / 463.3 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1673, allocations: 34.2 kB / 463.3 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.1673, allocations: 60.22 kB / 463.4 MB, free: 35.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.1675, allocations: 348.5 kB / 463.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1676, allocations: 81.75 kB / 463.8 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.1682, allocations: 0.856 MB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1682, allocations: 10.16 kB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1682, allocations: 3.125 kB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1682, allocations: 3.328 kB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1692, allocations: 1.464 MB / 466.2 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1692, allocations: 3.062 kB / 466.2 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.1694, allocations: 111.2 kB / 466.3 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1694, allocations: 6.562 kB / 466.3 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1694, allocations: 20.47 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1694, allocations: 3.125 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1694, allocations: 3.281 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.1702, allocations: 1.335 MB / 467.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1703, allocations: 106.7 kB / 467.7 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.1704, allocations: 17.62 kB / 467.8 MB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1705, allocations: 35.17 kB / 467.8 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1706, allocations: 34.22 kB / 467.8 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1706, allocations: 64.47 kB / 467.9 MB, free: 32.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.1708, allocations: 377.8 kB / 468.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1708, allocations: 0 / 468.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.1712, allocations: 178.3 kB / 468.4 MB, free: 32.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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 8.644e-05/0.1713, allocations: 121.9 kB / 468.5 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.172, allocations: 1.095 MB / 469.6 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.172, allocations: 0.5625 kB / 469.6 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.1723, allocations: 0.4911 MB / 470.1 MB, free: 31.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1727, allocations: 156.3 kB / 470.3 MB, free: 31.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1741, allocations: 1.624 MB / 471.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1743, allocations: 416.6 kB / 472.3 MB, free: 30.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.1744, allocations: 58.14 kB / 472.4 MB, free: 30.65 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1744, allocations: 0 / 472.4 MB, free: 30.65 MB / 410.7 MB Notification: Performance of Templates: time 0.01018/0.1846, allocations: 12.41 MB / 484.8 MB, free: 29.58 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.6595488134771585]