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.001574/0.001574, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001522/0.001522, allocations: 161.7 kB / 24.27 MB, free: 172 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.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3097/0.3097, allocations: 29.42 MB / 290.5 MB, free: 2.441 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.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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.665e-05, allocations: 5.688 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.01298/0.01302, allocations: 6.212 MB / 375.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.01968, allocations: 2.313 MB / 377.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.02045, allocations: 31.69 kB / 377.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.02298, allocations: 0.5987 MB / 378 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.02596, allocations: 0.7034 MB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.02799, allocations: 478.5 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.03098, allocations: 1.38 MB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.03219, allocations: 415.9 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.03469, allocations: 0.7673 MB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.03702, allocations: 0.7871 MB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.03741, allocations: 72 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.03861, allocations: 307.3 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009275/0.03953, allocations: 0.5494 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.04062, allocations: 375.1 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.04333, allocations: 1.371 MB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.04333, allocations: 0 / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.04333, allocations: 0 / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.04335, allocations: 0 / 385.2 MB, free: 10.91 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.003667/0.04702, allocations: 1.273 MB / 386.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.04707, allocations: 11.98 kB / 386.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.04924, allocations: 371.8 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.05122, allocations: 0.6645 MB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.05131, allocations: 66.36 kB / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.05162, allocations: 100.6 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.05471, allocations: 1.417 MB / 389.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.05475, allocations: 0 / 389.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.05489, allocations: 39.98 kB / 389.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003989/0.05529, allocations: 121.9 kB / 389.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.05799, allocations: 1.118 MB / 390.4 MB, free: 5.562 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.01063/0.06862, allocations: 5.35 MB / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.07024, allocations: 0.612 MB / 396.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.07097, allocations: 316.8 kB / 396.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.07105, allocations: 20.48 kB / 396.7 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.0721, allocations: 0.4986 MB / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 3.256e-06/0.0721, allocations: 0 / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.005445/0.07755, allocations: 2.192 MB / 399.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.0777, allocations: 170.8 kB / 399.5 MB, free: 12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.07887, allocations: 0.6677 MB / 400.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.07895, allocations: 37.7 kB / 400.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/0.07962, allocations: 0.5385 MB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.07993, allocations: 238.2 kB / 401 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.08035, allocations: 206.8 kB / 401.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004109/0.08076, allocations: 386.8 kB / 401.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008523/0.08161, allocations: 368.1 kB / 401.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.083, allocations: 0.8031 MB / 402.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.08544, allocations: 1.242 MB / 404 MB, free: 7.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.08545, allocations: 8 kB / 404 MB, free: 7.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004076/0.08952, allocations: 1.516 MB / 405.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.08959, allocations: 37.7 kB / 405.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002283/0.09187, allocations: 0.7847 MB / 406.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.09321, allocations: 297.5 kB / 406.6 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.09435, allocations: 219.6 kB / 406.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.102, allocations: 4.103 MB / 410.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.1031, allocations: 59.92 kB / 411 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.1034, allocations: 72.09 kB / 411.1 MB, free: 15.73 MB / 394.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.0009493/0.1043, allocations: 391 kB / 411.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.1046, allocations: 103.5 kB / 411.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.1069, allocations: 0.8868 MB / 412.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1069, allocations: 12 kB / 412.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1069, allocations: 0 / 412.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.1069, allocations: 7.922 kB / 412.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.1111, allocations: 1.591 MB / 414.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1111, allocations: 0 / 414.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.1122, allocations: 151.9 kB / 414.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/0.1122, allocations: 11.94 kB / 414.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.1123, allocations: 23.98 kB / 414.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1123, allocations: 0 / 414.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1123, allocations: 4 kB / 414.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.1156, allocations: 1.393 MB / 415.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.1161, allocations: 131.5 kB / 415.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.1162, allocations: 23.92 kB / 415.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.1168, allocations: 31.97 kB / 415.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.117, allocations: 48.36 kB / 415.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.1171, allocations: 43.97 kB / 415.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008277/0.1179, allocations: 427 kB / 416.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1179, allocations: 0 / 416.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001544/0.1195, allocations: 232 kB / 416.6 MB, free: 10.1 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.0002653/0.1198, allocations: 119.1 kB / 416.7 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.1229, allocations: 1.261 MB / 417.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1229, allocations: 0 / 417.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000972/0.1238, allocations: 447.8 kB / 418.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.125, allocations: 154.6 kB / 418.5 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.1303, allocations: 1.978 MB / 420.5 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.1314, allocations: 0.5155 MB / 421 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.1324, allocations: 294.4 kB / 421.3 MB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.1326, allocations: 56.5 kB / 421.4 MB, free: 5.133 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1326, allocations: 0 / 421.4 MB, free: 5.133 MB / 394.7 MB Notification: Performance of Templates: time 0.02154/0.1541, allocations: 8.65 MB / 430 MB, free: 12.62 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.409489487065002]