Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.001942/0.001942, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002443/0.002443, allocations: 209 kB / 24.48 MB, free: 3.938 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.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1874/0.1874, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") [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.002147/0.002147, allocations: 74.39 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2951, allocations: 62.46 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009815/0.3049, allocations: 7.699 MB / 0.5507 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.3105, allocations: 2.824 MB / 0.5534 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.3111, allocations: 47.41 kB / 0.5535 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.3134, allocations: 0.8629 MB / 0.5543 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.3153, allocations: 0.9226 MB / 0.5552 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.3169, allocations: 0.6515 MB / 0.5559 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3191, allocations: 1.948 MB / 0.5578 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007169/0.3198, allocations: 0.5405 MB / 0.5583 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3209, allocations: 0.864 MB / 0.5591 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.3224, allocations: 1.168 MB / 0.5603 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.3226, allocations: 112 kB / 0.5604 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3236, allocations: 0.5694 MB / 0.5609 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.3243, allocations: 0.7987 MB / 0.5617 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.325, allocations: 0.63 MB / 0.5623 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.3271, allocations: 2.051 MB / 0.5643 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3271, allocations: 0 / 0.5643 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3271, allocations: 0 / 0.5643 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.3272, allocations: 4 kB / 0.5643 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.002952/0.3301, allocations: 1.633 MB / 0.5659 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3301, allocations: 15.92 kB / 0.566 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.3323, allocations: 399.5 kB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.3341, allocations: 0.8351 MB / 0.5671 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.3341, allocations: 90.78 kB / 0.5672 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.3345, allocations: 152 kB / 0.5674 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.3374, allocations: 2.084 MB / 0.5694 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.3375, allocations: 11.94 kB / 0.5694 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.3376, allocations: 51.98 kB / 0.5695 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004314/0.338, allocations: 174.5 kB / 0.5696 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.3406, allocations: 1.673 MB / 0.5713 GB, free: 7.129 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.01032/0.351, allocations: 8.613 MB / 0.5797 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.3521, allocations: 0.6894 MB / 0.5804 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3527, allocations: 411.4 kB / 0.5808 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.3527, allocations: 8.656 kB / 0.5808 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.3527, allocations: 43.2 kB / 0.5808 GB, free: 12.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.665e-06/0.3527, allocations: 0 / 0.5808 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.004832/0.3576, allocations: 2.763 MB / 0.5835 GB, free: 10.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.3576, allocations: 90.11 kB / 0.5836 GB, free: 9.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.3585, allocations: 0.7735 MB / 0.5843 GB, free: 9.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.3586, allocations: 37.7 kB / 0.5844 GB, free: 9.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.3591, allocations: 0.7255 MB / 0.5851 GB, free: 8.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.3594, allocations: 321.4 kB / 0.5854 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.3597, allocations: 259.4 kB / 0.5856 GB, free: 7.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3599, allocations: 402.7 kB / 0.586 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.3606, allocations: 459.6 kB / 0.5865 GB, free: 6.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3618, allocations: 1.014 MB / 0.5875 GB, free: 5.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.3639, allocations: 1.606 MB / 0.589 GB, free: 3.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3639, allocations: 8 kB / 0.589 GB, free: 3.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003519/0.3674, allocations: 1.939 MB / 0.5909 GB, free: 1.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.3675, allocations: 18.75 kB / 0.5909 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002255/0.3697, allocations: 1.179 MB / 0.5921 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.371, allocations: 453.2 kB / 0.5925 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.3719, allocations: 255.6 kB / 0.5928 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.3793, allocations: 5.589 MB / 0.5982 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.38, allocations: 59.92 kB / 0.5983 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.82e-05/0.3801, allocations: 68 kB / 0.5983 GB, free: 10.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006644/0.3808, allocations: 469.1 kB / 0.5988 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3809, allocations: 91.39 kB / 0.5989 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.3831, allocations: 1.154 MB / 0.6 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3831, allocations: 8 kB / 0.6 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3831, allocations: 4 kB / 0.6 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3831, allocations: 8.062 kB / 0.6 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.3867, allocations: 1.996 MB / 0.602 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3867, allocations: 0 / 0.602 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.3872, allocations: 127.9 kB / 0.6021 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.3877, allocations: 182.4 kB / 0.6023 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.3878, allocations: 27.98 kB / 0.6023 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.392, allocations: 4.578 MB / 0.6068 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.392, allocations: 3.938 kB / 0.6068 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3945, allocations: 1.624 MB / 0.6084 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.3948, allocations: 147.4 kB / 0.6085 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3949, allocations: 23.98 kB / 0.6085 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.3953, allocations: 23.98 kB / 0.6085 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3954, allocations: 64.53 kB / 0.6086 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.3955, allocations: 23.98 kB / 0.6086 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005808/0.3961, allocations: 491 kB / 0.6091 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3961, allocations: 0 / 0.6091 GB, free: 14.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3972, allocations: 328 kB / 0.6094 GB, free: 14.28 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.3973, allocations: 115.1 kB / 0.6095 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3999, allocations: 1.497 MB / 0.611 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3999, allocations: 0 / 0.611 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.4012, allocations: 0.8049 MB / 0.6118 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.4021, allocations: 170.1 kB / 0.6119 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.4067, allocations: 2.945 MB / 0.6148 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/0.4076, allocations: 0.7131 MB / 0.6155 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.4078, allocations: 83.42 kB / 0.6156 GB, free: 7.797 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4078, allocations: 0 / 0.6156 GB, free: 7.797 MB / 462.1 MB Notification: Performance of Templates: time 0.03154/0.4393, allocations: 25.52 MB / 0.6405 GB, free: 14.27 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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: 10.51561992103234]