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.001327/0.001327, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001428/0.001428, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.487/1.487, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 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.1826/0.1826, allocations: 29.42 MB / 290.7 MB, free: 3.262 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3772, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006189/0.3833, allocations: 6.235 MB / 499.9 MB, free: 33.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.3875, allocations: 2.307 MB / 0.4904 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.3879, allocations: 31.28 kB / 0.4905 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.3895, allocations: 0.6041 MB / 0.491 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3909, allocations: 0.6954 MB / 0.4917 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3921, allocations: 449.6 kB / 0.4921 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3935, allocations: 1.366 MB / 0.4935 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.3941, allocations: 408.1 kB / 0.4939 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.395, allocations: 0.598 MB / 0.4945 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009946/0.396, allocations: 0.8288 MB / 0.4953 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3961, allocations: 78.16 kB / 0.4953 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.3966, allocations: 294.6 kB / 0.4956 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.397, allocations: 0.5294 MB / 0.4961 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3974, allocations: 447.2 kB / 0.4966 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.3987, allocations: 1.355 MB / 0.4979 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3987, allocations: 3.375 kB / 0.4979 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3987, allocations: 0 / 0.4979 GB, free: 28.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3987, allocations: 0 / 0.4979 GB, free: 28.92 MB / 446.1 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.002012/0.4007, allocations: 1.279 MB / 0.4991 GB, free: 28.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4007, allocations: 16.91 kB / 0.4992 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.402, allocations: 270.7 kB / 0.4994 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.403, allocations: 0.6407 MB / 0.5 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.4031, allocations: 60.98 kB / 0.5001 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.4033, allocations: 100.4 kB / 0.5002 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.4049, allocations: 1.412 MB / 0.5016 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.4049, allocations: 12.72 kB / 0.5016 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.405, allocations: 40.84 kB / 0.5016 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/0.4052, allocations: 120.6 kB / 0.5017 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.4066, allocations: 1.118 MB / 0.5028 GB, free: 26.45 MB / 446.1 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.004882/0.4115, allocations: 5.348 MB / 0.5081 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.4124, allocations: 0.6101 MB / 0.5086 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.4127, allocations: 321.8 kB / 0.509 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.4128, allocations: 17.61 kB / 0.509 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.4133, allocations: 0.4946 MB / 0.5095 GB, free: 21.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/0.4133, allocations: 0 / 0.5095 GB, free: 21.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002762/0.4161, allocations: 2.17 MB / 0.5116 GB, free: 20.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.4161, allocations: 176 kB / 0.5117 GB, free: 20.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.4169, allocations: 0.661 MB / 0.5124 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.4169, allocations: 37.67 kB / 0.5124 GB, free: 20.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.4172, allocations: 0.5456 MB / 0.513 GB, free: 19.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4174, allocations: 241.2 kB / 0.5132 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.4176, allocations: 209.8 kB / 0.5134 GB, free: 19.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.4177, allocations: 388.5 kB / 0.5138 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.4182, allocations: 371.4 kB / 0.5141 GB, free: 18.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.4188, allocations: 0.7945 MB / 0.5149 GB, free: 18.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4201, allocations: 1.25 MB / 0.5161 GB, free: 17.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4201, allocations: 8.094 kB / 0.5161 GB, free: 17.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002336/0.4225, allocations: 1.457 MB / 0.5175 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.4225, allocations: 46.14 kB / 0.5176 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001376/0.4239, allocations: 0.7806 MB / 0.5183 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.4246, allocations: 256.4 kB / 0.5186 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.4253, allocations: 217.2 kB / 0.5188 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.4295, allocations: 4.092 MB / 0.5228 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.4303, allocations: 55.75 kB / 0.5228 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.4304, allocations: 66.95 kB / 0.5229 GB, free: 13.17 MB / 446.1 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.0006754/0.4311, allocations: 403.5 kB / 0.5233 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4312, allocations: 79.36 kB / 0.5234 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.4326, allocations: 0.8788 MB / 0.5242 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4326, allocations: 10.5 kB / 0.5242 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4326, allocations: 0.9062 kB / 0.5242 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4327, allocations: 3.328 kB / 0.5242 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.4354, allocations: 1.606 MB / 0.5258 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4354, allocations: 1.531 kB / 0.5258 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.4361, allocations: 150.8 kB / 0.526 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.4361, allocations: 3.312 kB / 0.526 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.4361, allocations: 20.25 kB / 0.526 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4362, allocations: 8.312 kB / 0.526 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4362, allocations: 6.219 kB / 0.526 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.4381, allocations: 1.378 MB / 0.5273 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.4385, allocations: 126.3 kB / 0.5275 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.4385, allocations: 15.67 kB / 0.5275 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.4389, allocations: 29.92 kB / 0.5275 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.439, allocations: 50.34 kB / 0.5276 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4391, allocations: 43.61 kB / 0.5276 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.4396, allocations: 425.7 kB / 0.528 GB, free: 10.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4396, allocations: 4 kB / 0.528 GB, free: 10.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001068/0.4407, allocations: 235.7 kB / 0.5282 GB, free: 10.67 MB / 446.1 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.0001297/0.4408, allocations: 116.9 kB / 0.5283 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.4427, allocations: 1.258 MB / 0.5296 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4427, allocations: 1.406 kB / 0.5296 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.4433, allocations: 446.8 kB / 0.53 GB, free: 9.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.444, allocations: 146.1 kB / 0.5301 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.4476, allocations: 2.039 MB / 0.5321 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.4483, allocations: 0.5098 MB / 0.5326 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007404/0.449, allocations: 295.8 kB / 0.5329 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4492, allocations: 63.23 kB / 0.533 GB, free: 8.391 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4492, allocations: 0 / 0.533 GB, free: 8.391 MB / 446.1 MB Notification: Performance of Templates: time 0.02213/0.4713, allocations: 8.645 MB / 0.5414 GB, free: 6.711 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/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.28296176798176]