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.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.001144/0.001144, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002333, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007477/0.0007477, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009827/0.00173, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.013/1.013, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08702/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1122/0.1122, allocations: 29.45 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1252/0.2373, allocations: 9.536 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter1.i.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter1.i.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.197e-05, allocations: 3.406 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005586/0.005608, allocations: 5.943 MB / 290.4 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.008682, allocations: 2.46 MB / 292.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.00895, allocations: 34.72 kB / 292.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.009764, allocations: 0.5527 MB / 293.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009657/0.01073, allocations: 0.7124 MB / 294.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.01153, allocations: 462.5 kB / 294.6 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.01291, allocations: 1.411 MB / 296 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.01335, allocations: 402.1 kB / 296.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008973/0.01424, allocations: 0.8969 MB / 297.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000743/0.01499, allocations: 0.6934 MB / 298 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.01508, allocations: 68 kB / 298.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.01559, allocations: 303.4 kB / 298.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.01598, allocations: 0.5105 MB / 298.9 MB, free: 248 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.01623, allocations: 295.4 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.01715, allocations: 0.9108 MB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.01716, allocations: 0 / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.01717, allocations: 3.984 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.01719, allocations: 0 / 300.1 MB, free: 15.04 MB / 298.7 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.001417/0.01861, allocations: 1.404 MB / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001686/0.01878, allocations: 12.03 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.01956, allocations: 349.6 kB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.02014, allocations: 0.5456 MB / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.02017, allocations: 62.36 kB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.0203, allocations: 96.09 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.02107, allocations: 0.8962 MB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02109, allocations: 7.938 kB / 303.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.02114, allocations: 39.98 kB / 303.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.02128, allocations: 105.9 kB / 303.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.02174, allocations: 415 kB / 304 MB, free: 10.93 MB / 298.7 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.003376/0.02512, allocations: 4.649 MB / 308.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.02548, allocations: 326.2 kB / 309 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.02561, allocations: 148.9 kB / 309.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.02564, allocations: 16.5 kB / 309.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.02592, allocations: 362.4 kB / 309.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.553e-06/0.02592, allocations: 0 / 309.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001191/0.02712, allocations: 1.094 MB / 310.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.02719, allocations: 200.6 kB / 310.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.0275, allocations: 0.5502 MB / 311.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.02753, allocations: 37.7 kB / 311.3 MB, free: 3.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.02773, allocations: 496.4 kB / 311.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.02812, allocations: 238 kB / 312.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.02827, allocations: 194.7 kB / 312.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.02838, allocations: 390.6 kB / 312.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.02852, allocations: 143.1 kB / 312.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.02883, allocations: 0.5727 MB / 313.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.02943, allocations: 0.8643 MB / 314.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.02943, allocations: 7.938 kB / 314.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008409/0.03027, allocations: 0.8183 MB / 315 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.03031, allocations: 37.7 kB / 315.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.03032, allocations: 12.91 kB / 315.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.03074, allocations: 227.8 kB / 315.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.03114, allocations: 239.6 kB / 315.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.0329, allocations: 2.906 MB / 318.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.03314, allocations: 39.95 kB / 318.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.0332, allocations: 55.98 kB / 318.5 MB, free: 11.25 MB / 314.7 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.0001838/0.03338, allocations: 222 kB / 318.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.03371, allocations: 67.94 kB / 318.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.03414, allocations: 468.3 kB / 319.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.03415, allocations: 12.03 kB / 319.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03415, allocations: 0 / 319.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.03416, allocations: 3.984 kB / 319.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.035, allocations: 0.908 MB / 320.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.035, allocations: 0 / 320.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.03537, allocations: 151.8 kB / 320.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.03548, allocations: 103.4 kB / 320.5 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.03549, allocations: 7.938 kB / 320.5 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.03552, allocations: 32.12 kB / 320.5 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.03552, allocations: 7.938 kB / 320.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03552, allocations: 0 / 320.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.03605, allocations: 0.7051 MB / 321.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.0361, allocations: 27.98 kB / 321.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.03624, allocations: 19.94 kB / 321.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.03633, allocations: 40.42 kB / 321.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.03638, allocations: 35.95 kB / 321.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.03652, allocations: 228.6 kB / 321.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03652, allocations: 4 kB / 321.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.03695, allocations: 236 kB / 321.8 MB, free: 7.855 MB / 314.7 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.0001187/0.03707, allocations: 105.3 kB / 321.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007292/0.0378, allocations: 0.9015 MB / 322.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.406e-05/0.03783, allocations: 21.91 kB / 322.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.03806, allocations: 319.2 kB / 323.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.03873, allocations: 1.036 MB / 324.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.04891, allocations: 1.679 MB / 325.8 MB, free: 3.488 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.04909, allocations: 271.7 kB / 326.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.04932, allocations: 102.7 kB / 326.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.04958, allocations: 199.3 kB / 326.4 MB, free: 2.902 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04958, allocations: 0 / 326.4 MB, free: 2.902 MB / 314.7 MB Notification: Performance of Templates: time 0.01121/0.06079, allocations: 8.862 MB / 335.3 MB, free: 10.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.117670964449644]