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.001297/0.001297, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001158/0.001158, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9841/0.9841, allocations: 177.1 MB / 206 MB, free: 4.5 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.1313/0.1313, allocations: 29.43 MB / 292 MB, free: 2.645 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.613e-06/1.613e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.555e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00752/0.007546, allocations: 5.805 MB / 376.7 MB, free: 26.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.01221, allocations: 2.387 MB / 379.1 MB, free: 24.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.01309, allocations: 27.75 kB / 379.1 MB, free: 24.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.01466, allocations: 461.6 kB / 379.6 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.01682, allocations: 0.7034 MB / 380.3 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.01831, allocations: 482.6 kB / 380.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.02033, allocations: 1.372 MB / 382.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.02116, allocations: 411.9 kB / 382.5 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.02305, allocations: 0.861 MB / 383.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.02443, allocations: 0.713 MB / 384.1 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.02478, allocations: 72 kB / 384.2 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.02577, allocations: 299.4 kB / 384.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.02628, allocations: 0.5494 MB / 385 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.02661, allocations: 359.2 kB / 385.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.02751, allocations: 0.981 MB / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.02752, allocations: 0 / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.02752, allocations: 3.984 kB / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.02754, allocations: 4 kB / 386.3 MB, free: 16.82 MB / 314.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.001303/0.02884, allocations: 1.345 MB / 387.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.02887, allocations: 12.03 kB / 387.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.02956, allocations: 295.9 kB / 388 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.03013, allocations: 0.5795 MB / 388.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.03017, allocations: 62.36 kB / 388.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.03029, allocations: 96.66 kB / 388.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.03094, allocations: 0.9637 MB / 389.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.03096, allocations: 3.938 kB / 389.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.03101, allocations: 39.98 kB / 389.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.03114, allocations: 109.9 kB / 389.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.03159, allocations: 447 kB / 390.3 MB, free: 12.67 MB / 314.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.002805/0.03439, allocations: 6.25 MB / 396.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.03474, allocations: 375.7 kB / 396.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.03486, allocations: 166.5 kB / 397 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.03489, allocations: 12.48 kB / 397.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.03513, allocations: 382 kB / 397.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.593e-06/0.03514, allocations: 0 / 397.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001129/0.03626, allocations: 1.218 MB / 398.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.03631, allocations: 170.9 kB / 398.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.03659, allocations: 0.6627 MB / 399.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.03662, allocations: 41.69 kB / 399.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.03679, allocations: 0.6035 MB / 400.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.03689, allocations: 242 kB / 400.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.03703, allocations: 216.4 kB / 400.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.03712, allocations: 0.578 MB / 401.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.03724, allocations: 136.2 kB / 401.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.03749, allocations: 0.7746 MB / 402.1 MB, free: 68 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.03822, allocations: 1.018 MB / 403.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.03822, allocations: 4 kB / 403.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001107/0.03933, allocations: 0.9952 MB / 404.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.03937, allocations: 41.7 kB / 404.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005109/0.03988, allocations: 396.5 kB / 404.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.0403, allocations: 198.2 kB / 404.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.04066, allocations: 219.6 kB / 404.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.04329, allocations: 3.998 MB / 408.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.04357, allocations: 39.95 kB / 408.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.04364, allocations: 55.92 kB / 409 MB, free: 8.551 MB / 330.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.0002094/0.04384, allocations: 280.1 kB / 409.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.821e-05/0.04393, allocations: 99.53 kB / 409.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.0445, allocations: 0.5744 MB / 409.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.04451, allocations: 8 kB / 410 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.04451, allocations: 0 / 410 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.04452, allocations: 3.984 kB / 410 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.04577, allocations: 1.167 MB / 411.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.04577, allocations: 4 kB / 411.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.0461, allocations: 131.8 kB / 411.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.0461, allocations: 4 kB / 411.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.04613, allocations: 19.98 kB / 411.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.04613, allocations: 4 kB / 411.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.04614, allocations: 12.03 kB / 411.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.04686, allocations: 0.9103 MB / 412.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.04699, allocations: 111.4 kB / 412.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.04704, allocations: 16 kB / 412.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.04719, allocations: 16 kB / 412.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.04726, allocations: 48.3 kB / 412.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.04731, allocations: 47.95 kB / 412.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.04751, allocations: 362.9 kB / 412.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04751, allocations: 0 / 412.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.04805, allocations: 228 kB / 413 MB, free: 4.363 MB / 330.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.0001338/0.04819, allocations: 123.6 kB / 413.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.04931, allocations: 1.033 MB / 414.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04931, allocations: 0.5625 kB / 414.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.04953, allocations: 304.8 kB / 414.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.04997, allocations: 141 kB / 414.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.05205, allocations: 1.726 MB / 416.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.05224, allocations: 263.7 kB / 416.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00024/0.05248, allocations: 110.7 kB / 416.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.05274, allocations: 230.1 kB / 416.9 MB, free: 280 kB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.05274, allocations: 0 / 416.9 MB, free: 280 kB / 330.7 MB Notification: Performance of Templates: time 0.01299/0.06573, allocations: 9.456 MB / 426.4 MB, free: 6.98 MB / 346.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.346522282343358]