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.001516/0.001516, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001653/0.001653, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.362/1.362, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.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.1736/0.1736, allocations: 38.52 MB / 353.2 MB, free: 12.6 MB / 286.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.001956/0.001956, allocations: 63.89 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2953, allocations: 62.48 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008217/0.3035, allocations: 6.72 MB / 0.5498 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.308, allocations: 2.498 MB / 0.5522 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.3085, allocations: 33.84 kB / 0.5523 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3102, allocations: 0.6308 MB / 0.5529 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.3118, allocations: 0.6893 MB / 0.5536 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.313, allocations: 459 kB / 0.554 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.3148, allocations: 1.365 MB / 0.5553 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.3155, allocations: 412 kB / 0.5557 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.3165, allocations: 0.592 MB / 0.5563 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3177, allocations: 0.865 MB / 0.5572 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3178, allocations: 76.81 kB / 0.5572 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.3185, allocations: 315.5 kB / 0.5575 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.319, allocations: 0.526 MB / 0.558 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.3195, allocations: 0.5363 MB / 0.5586 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3211, allocations: 1.339 MB / 0.5599 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3211, allocations: 4 kB / 0.5599 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3211, allocations: 0 / 0.5599 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.3211, allocations: 0 / 0.5599 GB, free: 3.324 MB / 398.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.002444/0.3236, allocations: 1.283 MB / 0.5611 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3236, allocations: 19.92 kB / 0.5611 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.3249, allocations: 271.9 kB / 0.5614 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.3262, allocations: 0.6341 MB / 0.562 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.3263, allocations: 62.36 kB / 0.5621 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.3265, allocations: 100 kB / 0.5622 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3285, allocations: 1.38 MB / 0.5635 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.3285, allocations: 7.938 kB / 0.5635 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.3286, allocations: 47.97 kB / 0.5636 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.3289, allocations: 117.9 kB / 0.5637 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.3306, allocations: 1.093 MB / 0.5648 GB, free: 14.14 MB / 414.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.006931/0.3375, allocations: 5.872 MB / 0.5705 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.3385, allocations: 0.5828 MB / 0.5711 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.3389, allocations: 287.1 kB / 0.5713 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.339, allocations: 8.5 kB / 0.5713 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/0.3396, allocations: 476.8 kB / 0.5718 GB, free: 6.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.3396, allocations: 0 / 0.5718 GB, free: 6.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.0033/0.3429, allocations: 2.107 MB / 0.5739 GB, free: 4.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.343, allocations: 167 kB / 0.574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.3438, allocations: 0.6407 MB / 0.5746 GB, free: 3.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.3438, allocations: 37.7 kB / 0.5747 GB, free: 3.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.3443, allocations: 0.5501 MB / 0.5752 GB, free: 2.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3445, allocations: 242 kB / 0.5754 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.3448, allocations: 210.8 kB / 0.5756 GB, free: 2.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.345, allocations: 386.7 kB / 0.576 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.3455, allocations: 342.4 kB / 0.5763 GB, free: 1.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.3464, allocations: 0.7702 MB / 0.5771 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.3479, allocations: 1.254 MB / 0.5783 GB, free: 15.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/0.3479, allocations: 4 kB / 0.5783 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002575/0.3505, allocations: 1.433 MB / 0.5797 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.3506, allocations: 41.64 kB / 0.5798 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001451/0.352, allocations: 0.7806 MB / 0.5805 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007198/0.3527, allocations: 257.4 kB / 0.5808 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.3534, allocations: 211.6 kB / 0.581 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.3582, allocations: 4.175 MB / 0.585 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.3589, allocations: 55.97 kB / 0.5851 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.359, allocations: 64.05 kB / 0.5852 GB, free: 8.094 MB / 430.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.0005804/0.3596, allocations: 399.2 kB / 0.5855 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3597, allocations: 87.41 kB / 0.5856 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3611, allocations: 0.8461 MB / 0.5865 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3611, allocations: 4 kB / 0.5865 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3611, allocations: 4 kB / 0.5865 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3611, allocations: 7.984 kB / 0.5865 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.3639, allocations: 1.741 MB / 0.5882 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3639, allocations: 4 kB / 0.5882 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.3646, allocations: 155.9 kB / 0.5883 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3646, allocations: 4 kB / 0.5883 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.3647, allocations: 19.98 kB / 0.5883 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3647, allocations: 4 kB / 0.5883 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3647, allocations: 4 kB / 0.5884 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3665, allocations: 1.312 MB / 0.5896 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.3668, allocations: 127.4 kB / 0.5898 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.3669, allocations: 23.98 kB / 0.5898 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3673, allocations: 31.97 kB / 0.5898 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.3674, allocations: 48.36 kB / 0.5899 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.3674, allocations: 35.97 kB / 0.5899 GB, free: 3.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.368, allocations: 435 kB / 0.5903 GB, free: 2.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.368, allocations: 3.938 kB / 0.5903 GB, free: 2.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008795/0.3688, allocations: 228 kB / 0.5905 GB, free: 2.453 MB / 430.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.0001958/0.369, allocations: 115.2 kB / 0.5906 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.371, allocations: 1.203 MB / 0.5918 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.371, allocations: 0 / 0.5918 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.3716, allocations: 414.1 kB / 0.5922 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.3723, allocations: 147.1 kB / 0.5923 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.3758, allocations: 2.097 MB / 0.5944 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/0.3767, allocations: 1.114 MB / 0.5955 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3769, allocations: 71.42 kB / 0.5955 GB, free: 13.18 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3769, allocations: 0 / 0.5955 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02154/0.3984, allocations: 14.16 MB / 0.6094 GB, free: 15.02 MB / 462.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 -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: 9.100921725155786]