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.0007949/0.0007949, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009933/0.001788, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007088/0.0007088, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008389/0.001548, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9436/0.9436, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.032, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1348/0.1348, allocations: 29.44 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1423/0.2772, allocations: 9.527 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 9.92e-07/9.92e-07, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.456e-06/9.448e-06, allocations: 3.516 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.004883/0.004893, allocations: 5.924 MB / 290.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.00752, allocations: 2.451 MB / 292.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.00774, allocations: 31.88 kB / 292.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.008472, allocations: 0.5529 MB / 293.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.009231, allocations: 0.7238 MB / 293.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.00977, allocations: 452.8 kB / 294.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.01088, allocations: 1.419 MB / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.01124, allocations: 402.1 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.01198, allocations: 0.893 MB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.01254, allocations: 0.6973 MB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.01261, allocations: 72 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.01292, allocations: 291.5 kB / 298.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.01322, allocations: 0.5105 MB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.01345, allocations: 299.4 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.01413, allocations: 0.911 MB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.01414, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01414, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.01416, allocations: 0 / 299.8 MB, free: 15.16 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001176/0.01533, allocations: 1.412 MB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.445e-05/0.01536, allocations: 12.03 kB / 301.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/0.01602, allocations: 345.7 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.01656, allocations: 0.5494 MB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.0166, allocations: 58.36 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.01672, allocations: 96.09 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.01745, allocations: 0.8962 MB / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.01747, allocations: 7.938 kB / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.01752, allocations: 35.98 kB / 303.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.01764, allocations: 105.9 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.0181, allocations: 415 kB / 303.7 MB, free: 11.06 MB / 298.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.00288/0.02098, allocations: 4.641 MB / 308.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.02133, allocations: 324.9 kB / 308.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.02159, allocations: 148.9 kB / 308.8 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.02162, allocations: 28.42 kB / 308.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.02188, allocations: 346.5 kB / 309.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.412e-06/0.02188, allocations: 4 kB / 309.2 MB, free: 5.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001126/0.02301, allocations: 1.074 MB / 310.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.02306, allocations: 170.9 kB / 310.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.02335, allocations: 0.5502 MB / 311 MB, free: 3.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.02338, allocations: 41.64 kB / 311 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.02356, allocations: 496.4 kB / 311.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.02367, allocations: 238 kB / 311.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.02381, allocations: 194.7 kB / 312 MB, free: 2.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.02391, allocations: 386.6 kB / 312.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.02404, allocations: 143.1 kB / 312.5 MB, free: 1.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.02434, allocations: 0.5688 MB / 313 MB, free: 1.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.02486, allocations: 0.8255 MB / 313.9 MB, free: 56 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.02486, allocations: 4 kB / 313.9 MB, free: 52 kB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008545/0.02572, allocations: 0.8338 MB / 314.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.02575, allocations: 46.67 kB / 314.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003994/0.02615, allocations: 328.6 kB / 315.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.02652, allocations: 219.3 kB / 315.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.02696, allocations: 239.6 kB / 315.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.0286, allocations: 2.897 MB / 318.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.02884, allocations: 47.77 kB / 318.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.0289, allocations: 55.98 kB / 318.5 MB, free: 11.16 MB / 314.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.0001808/0.02908, allocations: 221.9 kB / 318.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.02914, allocations: 67.94 kB / 318.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.02956, allocations: 476.4 kB / 319.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.02957, allocations: 7.938 kB / 319.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.02957, allocations: 0 / 319.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.02958, allocations: 7.984 kB / 319.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.03041, allocations: 0.8925 MB / 320.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03041, allocations: 0 / 320.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.03078, allocations: 159.9 kB / 320.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.0309, allocations: 107.4 kB / 320.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0309, allocations: 4 kB / 320.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.03093, allocations: 27.92 kB / 320.5 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.03094, allocations: 8 kB / 320.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03094, allocations: 4 kB / 320.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.03151, allocations: 0.7091 MB / 321.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.03156, allocations: 15.98 kB / 321.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.0317, allocations: 20 kB / 321.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.03176, allocations: 48.36 kB / 321.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.0318, allocations: 35.95 kB / 321.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.03194, allocations: 228.6 kB / 321.5 MB, free: 8 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03194, allocations: 0 / 321.5 MB, free: 8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.03236, allocations: 236 kB / 321.8 MB, free: 7.77 MB / 314.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 8.723e-05/0.03245, allocations: 100.3 kB / 321.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.03318, allocations: 0.8934 MB / 322.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/0.0332, allocations: 13.81 kB / 322.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.0334, allocations: 291.8 kB / 323 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.03382, allocations: 227.7 kB / 323.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/0.04374, allocations: 1.686 MB / 325 MB, free: 4.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.04391, allocations: 267.7 kB / 325.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.04412, allocations: 102.7 kB / 325.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.04436, allocations: 203.3 kB / 325.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04437, allocations: 4 kB / 325.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of Templates: time 0.01101/0.05537, allocations: 9.399 MB / 334.9 MB, free: 10.61 MB / 330.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 -ignoreHideResult -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.0051128985360265]