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.001191/0.001191, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001452/0.001452, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.629 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.2662/0.2662, allocations: 29.41 MB / 290.9 MB, free: 2.508 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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|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.783e-06/1.783e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.445e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005846/0.005871, allocations: 5.958 MB / 375.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.009495, allocations: 2.418 MB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/0.01, allocations: 27.75 kB / 378 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.01103, allocations: 290.2 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.01236, allocations: 0.7035 MB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.01333, allocations: 482.6 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.01474, allocations: 1.388 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.01534, allocations: 404 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.01641, allocations: 0.7558 MB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.01756, allocations: 0.787 MB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.01771, allocations: 72 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.01832, allocations: 299.5 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.0188, allocations: 0.5572 MB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.01926, allocations: 375.1 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.02069, allocations: 1.02 MB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.0207, allocations: 3.938 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.0207, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.539e-05/0.02073, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.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.002045/0.02278, allocations: 1.385 MB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.02282, allocations: 8.031 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.02385, allocations: 367.7 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009881/0.02483, allocations: 0.6555 MB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.02488, allocations: 62.36 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.02504, allocations: 92.69 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.02632, allocations: 1.038 MB / 388.7 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.02635, allocations: 7.938 kB / 388.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.02641, allocations: 39.98 kB / 388.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.02658, allocations: 113.9 kB / 388.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.02746, allocations: 0.5438 MB / 389.4 MB, free: 6.945 MB / 362.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.004614/0.03208, allocations: 6.34 MB / 395.8 MB, free: 336 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.03269, allocations: 432 kB / 396.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.03292, allocations: 198.5 kB / 396.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.03296, allocations: 16.48 kB / 396.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.03336, allocations: 397.8 kB / 396.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 1.903e-06/0.03336, allocations: 0 / 396.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002049/0.03541, allocations: 1.599 MB / 398.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.03549, allocations: 170.9 kB / 398.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.03604, allocations: 0.667 MB / 399.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.03608, allocations: 33.7 kB / 399.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.03638, allocations: 0.5881 MB / 399.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.03654, allocations: 246 kB / 400.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.03674, allocations: 216.5 kB / 400.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.03692, allocations: 0.5703 MB / 400.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.03718, allocations: 176.2 kB / 401 MB, free: 10.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.03769, allocations: 0.8019 MB / 401.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.03858, allocations: 1.065 MB / 402.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.03859, allocations: 8 kB / 402.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001451/0.04004, allocations: 1.093 MB / 404 MB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.04008, allocations: 41.64 kB / 404 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006479/0.04073, allocations: 464.6 kB / 404.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.04119, allocations: 202.8 kB / 404.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.04159, allocations: 227.5 kB / 404.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.04412, allocations: 4.117 MB / 409 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.04448, allocations: 55.86 kB / 409.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.04454, allocations: 63.97 kB / 409.1 MB, free: 1.828 MB / 378.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.0002805/0.04482, allocations: 273.8 kB / 409.4 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.04493, allocations: 99.53 kB / 409.5 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/0.04569, allocations: 0.6331 MB / 410.1 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.0457, allocations: 8 kB / 410.2 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.0457, allocations: 3.938 kB / 410.2 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.04571, allocations: 7.922 kB / 410.2 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.04732, allocations: 1.374 MB / 411.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.04733, allocations: 4 kB / 411.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.04771, allocations: 143.8 kB / 411.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.04772, allocations: 11.88 kB / 411.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.04775, allocations: 19.98 kB / 411.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.04776, allocations: 4 kB / 411.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.04776, allocations: 4 kB / 411.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.04881, allocations: 1.016 MB / 412.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.04901, allocations: 123.4 kB / 412.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.04908, allocations: 27.92 kB / 412.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.04925, allocations: 23.98 kB / 412.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.04933, allocations: 48.41 kB / 413 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.04939, allocations: 44 kB / 413 MB, free: 13.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002933/0.04968, allocations: 375 kB / 413.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04968, allocations: 0 / 413.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006754/0.05035, allocations: 232 kB / 413.6 MB, free: 13.2 MB / 394.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.0001451/0.0505, allocations: 123.1 kB / 413.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.05172, allocations: 1.13 MB / 414.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.05173, allocations: 0 / 414.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.05207, allocations: 329.5 kB / 415.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.05263, allocations: 157.4 kB / 415.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.05526, allocations: 1.748 MB / 417.1 MB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.05551, allocations: 263.7 kB / 417.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000478/0.05599, allocations: 254.4 kB / 417.6 MB, free: 9.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.05612, allocations: 56.5 kB / 417.6 MB, free: 8.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.05612, allocations: 0 / 417.6 MB, free: 8.984 MB / 394.7 MB Notification: Performance of Templates: time 0.01254/0.06866, allocations: 8.695 MB / 426.3 MB, free: 436 kB / 394.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6181766530498862]