Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.0009972/0.0009972, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00212/0.00212, allocations: 174.5 kB / 24.92 MB, free: 8.77 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 1.052/1.052, allocations: 177.2 MB / 205.3 MB, free: 5.117 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.2715/0.2715, allocations: 29.42 MB / 291.2 MB, free: 2.434 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.761e-05, allocations: 8.141 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.009413/0.00943, allocations: 4.878 MB / 321.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.01137, allocations: 1.391 MB / 323.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.01161, allocations: 27.75 kB / 323.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.01204, allocations: 127.1 kB / 323.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.01268, allocations: 393.8 kB / 323.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.01291, allocations: 155.6 kB / 323.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.01353, allocations: 0.8019 MB / 324.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.01373, allocations: 151 kB / 324.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006314/0.01436, allocations: 0.5377 MB / 325.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.0147, allocations: 295.1 kB / 325.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.01474, allocations: 36 kB / 325.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-05/0.01479, allocations: 36 kB / 325.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01495, allocations: 227.3 kB / 325.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.01508, allocations: 175.5 kB / 326.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.01544, allocations: 402.5 kB / 326.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01544, allocations: 3.938 kB / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.01544, allocations: 0 / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.01545, allocations: 0 / 326.5 MB, free: 6.312 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0008991/0.01635, allocations: 0.7714 MB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.01639, allocations: 11.98 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.01648, allocations: 72.88 kB / 327.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.01691, allocations: 403.5 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.01694, allocations: 33.38 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.01698, allocations: 36.38 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.01747, allocations: 416.4 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01748, allocations: 0 / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.01765, allocations: 16 kB / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.01769, allocations: 28.92 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01788, allocations: 168.5 kB / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01922, allocations: 1.486 MB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.01949, allocations: 223 kB / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01961, allocations: 124.3 kB / 330.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.01963, allocations: 4 kB / 330.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.01984, allocations: 258 kB / 330.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.273e-06/0.01984, allocations: 4 kB / 330.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007624/0.0206, allocations: 484.3 kB / 331 MB, free: 1.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.02069, allocations: 170.1 kB / 331.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.02095, allocations: 351.2 kB / 331.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.02097, allocations: 37.7 kB / 331.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.02111, allocations: 257.3 kB / 331.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.02118, allocations: 119 kB / 331.9 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02128, allocations: 94.08 kB / 332 MB, free: 472 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.0214, allocations: 358.7 kB / 332.3 MB, free: 104 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.02149, allocations: 81.44 kB / 332.4 MB, free: 16 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.02167, allocations: 242.2 kB / 332.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.02193, allocations: 357.1 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02194, allocations: 0 / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003394/0.02228, allocations: 339.5 kB / 333.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.02233, allocations: 40.03 kB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.02234, allocations: 8 kB / 333.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.02237, allocations: 8 kB / 333.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.02269, allocations: 115.8 kB / 333.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.0227, allocations: 15.88 kB / 333.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.02285, allocations: 39.98 kB / 333.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.0229, allocations: 35.97 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.02308, allocations: 182.2 kB / 333.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.02314, allocations: 35.97 kB / 333.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.02344, allocations: 289.8 kB / 334.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.02345, allocations: 4 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02345, allocations: 3.938 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.02346, allocations: 3.984 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.02413, allocations: 0.5748 MB / 334.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.02413, allocations: 8.016 kB / 334.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.02434, allocations: 63.91 kB / 334.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02435, allocations: 0 / 334.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02437, allocations: 20.05 kB / 334.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.02437, allocations: 7.938 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02438, allocations: 3.938 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.0248, allocations: 497.7 kB / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.02489, allocations: 55.59 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.02493, allocations: 8 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.02504, allocations: 19.95 kB / 335.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.02509, allocations: 19.97 kB / 335.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.02513, allocations: 31.95 kB / 335.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.02526, allocations: 140.7 kB / 335.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02526, allocations: 3.938 kB / 335.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.02559, allocations: 119.8 kB / 335.7 MB, free: 12.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (32): * Single equations (assignments): 30 * 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.0001302/0.02572, allocations: 88.97 kB / 335.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.02606, allocations: 340.5 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.02608, allocations: 4 kB / 336.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.02623, allocations: 190.3 kB / 336.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.02659, allocations: 112.6 kB / 336.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.02813, allocations: 0.9097 MB / 337.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.81e-05/0.02823, allocations: 145.7 kB / 337.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.02838, allocations: 60.23 kB / 337.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.02858, allocations: 155.3 kB / 337.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/0.02858, allocations: 0 / 337.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Templates: time 0.008185/0.03677, allocations: 4.708 MB / 342.3 MB, free: 5.785 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.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.041591097135097]