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.001367/0.001367, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001547/0.001547, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2199/0.2199, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.002323/0.002323, allocations: 67.89 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2845, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008055/0.2925, allocations: 6.244 MB / 0.5493 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.2972, allocations: 2.305 MB / 0.5515 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.2977, allocations: 35.16 kB / 0.5515 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2993, allocations: 0.5938 MB / 0.5521 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.301, allocations: 0.6935 MB / 0.5528 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3022, allocations: 459.3 kB / 0.5532 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.3038, allocations: 1.356 MB / 0.5546 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.3045, allocations: 417.5 kB / 0.555 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3055, allocations: 0.6023 MB / 0.5556 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3068, allocations: 0.8298 MB / 0.5564 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.3069, allocations: 80 kB / 0.5564 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.3076, allocations: 295.5 kB / 0.5567 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.3082, allocations: 0.526 MB / 0.5572 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.3087, allocations: 445.8 kB / 0.5577 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3103, allocations: 1.354 MB / 0.559 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3103, allocations: 0 / 0.559 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3103, allocations: 0 / 0.559 GB, free: 3.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.3104, allocations: 4 kB / 0.559 GB, free: 3.941 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.002477/0.3128, allocations: 1.281 MB / 0.5602 GB, free: 2.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3129, allocations: 11.98 kB / 0.5602 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3143, allocations: 275.9 kB / 0.5605 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.3157, allocations: 0.6379 MB / 0.5611 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.3158, allocations: 62.36 kB / 0.5612 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.316, allocations: 100.1 kB / 0.5613 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3182, allocations: 1.413 MB / 0.5627 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3182, allocations: 7.938 kB / 0.5627 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.3183, allocations: 35.98 kB / 0.5627 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002998/0.3186, allocations: 121.9 kB / 0.5628 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3204, allocations: 1.114 MB / 0.5639 GB, free: 14.7 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.007395/0.3278, allocations: 5.359 MB / 0.5691 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.329, allocations: 0.6045 MB / 0.5697 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.3295, allocations: 324.7 kB / 0.57 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.3296, allocations: 8.5 kB / 0.5701 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006981/0.3303, allocations: 0.4946 MB / 0.5705 GB, free: 7.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.716e-06/0.3303, allocations: 0 / 0.5705 GB, free: 7.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003761/0.334, allocations: 2.176 MB / 0.5727 GB, free: 5.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.3342, allocations: 171 kB / 0.5728 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.335, allocations: 0.6638 MB / 0.5735 GB, free: 4.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.335, allocations: 37.7 kB / 0.5735 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.3355, allocations: 0.5424 MB / 0.574 GB, free: 3.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.3357, allocations: 242 kB / 0.5743 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.336, allocations: 210.8 kB / 0.5745 GB, free: 3.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3362, allocations: 386.7 kB / 0.5748 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.3368, allocations: 368.1 kB / 0.5752 GB, free: 2.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/0.3378, allocations: 0.7992 MB / 0.576 GB, free: 1.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.3394, allocations: 1.254 MB / 0.5772 GB, free: 236 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.3395, allocations: 7.938 kB / 0.5772 GB, free: 228 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002822/0.3423, allocations: 1.466 MB / 0.5786 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.3423, allocations: 37.7 kB / 0.5787 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001517/0.3439, allocations: 0.7838 MB / 0.5794 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/0.3446, allocations: 253.6 kB / 0.5797 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.3454, allocations: 215.6 kB / 0.5799 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005103/0.3505, allocations: 4.091 MB / 0.5839 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.3512, allocations: 51.97 kB / 0.5839 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3513, allocations: 64.19 kB / 0.584 GB, free: 9.016 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.0006284/0.352, allocations: 406.9 kB / 0.5844 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3521, allocations: 79.48 kB / 0.5845 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.3536, allocations: 0.8752 MB / 0.5853 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.3536, allocations: 11.94 kB / 0.5853 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3536, allocations: 0 / 0.5853 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3536, allocations: 3.984 kB / 0.5853 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.3564, allocations: 1.606 MB / 0.5869 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3564, allocations: 8.062 kB / 0.5869 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.3572, allocations: 143.8 kB / 0.587 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.3572, allocations: 4 kB / 0.587 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.3572, allocations: 28.08 kB / 0.5871 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3572, allocations: 11.94 kB / 0.5871 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3573, allocations: 4 kB / 0.5871 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.3593, allocations: 1.373 MB / 0.5884 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.3596, allocations: 127.5 kB / 0.5885 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.3597, allocations: 16 kB / 0.5886 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3601, allocations: 31.97 kB / 0.5886 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3602, allocations: 44.42 kB / 0.5886 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.3603, allocations: 39.95 kB / 0.5887 GB, free: 4.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000575/0.3609, allocations: 431 kB / 0.5891 GB, free: 3.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3609, allocations: 0 / 0.5891 GB, free: 3.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009136/0.3618, allocations: 235.9 kB / 0.5893 GB, free: 3.41 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.0001679/0.362, allocations: 118.6 kB / 0.5894 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3641, allocations: 1.269 MB / 0.5907 GB, free: 1.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3641, allocations: 0 / 0.5907 GB, free: 1.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.3647, allocations: 439.9 kB / 0.5911 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.3656, allocations: 148.2 kB / 0.5912 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.3692, allocations: 2.122 MB / 0.5933 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.3698, allocations: 0.5156 MB / 0.5938 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.3701, allocations: 67.42 kB / 0.5939 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3701, allocations: 0 / 0.5939 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02204/0.3921, allocations: 14.54 MB / 0.6081 GB, free: 60 kB / 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 -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.60652017686516]