Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.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.0008106/0.0008106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002066, allocations: 449.8 kB / 10.44 MB, free: 252 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.000744/0.000744, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001822, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9634/0.9634, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1186/0.1186, allocations: 29.45 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1308/0.2493, allocations: 9.537 MB / 283.2 MB, free: 12.83 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.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter1.alpha_v|meter1.p.[0-9,]+.|meter1.v_norm|meter12.alpha_v|meter12.p.[0-9,]+.|meter12.v_norm|meter22.alpha_v|meter22.p.[0-9,]+.|meter22.v_norm|meter32.alpha_v|meter32.p.[0-9,]+.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") translateModel(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter1.alpha_v|meter1.p.[0-9,]+.|meter1.v_norm|meter12.alpha_v|meter12.p.[0-9,]+.|meter12.v_norm|meter22.alpha_v|meter22.p.[0-9,]+.|meter22.v_norm|meter32.alpha_v|meter32.p.[0-9,]+.|meter32.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 1.219 kB / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.158e-05, allocations: 2.312 kB / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.007789/0.007811, allocations: 9.587 MB / 294 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.01374, allocations: 4.241 MB / 298.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.01466, allocations: 67.44 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.0163, allocations: 1.295 MB / 299.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.01856, allocations: 1.597 MB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.0202, allocations: 0.9308 MB / 302.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.02361, allocations: 3.38 MB / 305.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.02472, allocations: 0.8283 MB / 306.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.02719, allocations: 2.112 MB / 308.5 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.02914, allocations: 1.691 MB / 310.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003579/0.0295, allocations: 160 kB / 310.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.03084, allocations: 0.7836 MB / 311.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.0319, allocations: 1.271 MB / 312.4 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.03252, allocations: 0.6705 MB / 313.1 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.03442, allocations: 2.149 MB / 315.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.03443, allocations: 0 / 315.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.03443, allocations: 0 / 315.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.03446, allocations: 0 / 315.2 MB, free: 15.85 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.002464/0.03692, allocations: 2.845 MB / 318.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.03695, allocations: 12.03 kB / 318.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.03853, allocations: 0.6691 MB / 318.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.03992, allocations: 1.081 MB / 319.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.03999, allocations: 144.1 kB / 320 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.04026, allocations: 228.7 kB / 320.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.04183, allocations: 1.841 MB / 322 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.04187, allocations: 15.86 kB / 322 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.04197, allocations: 75.97 kB / 322.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/0.0423, allocations: 271.9 kB / 322.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/0.04325, allocations: 0.8239 MB / 323.2 MB, free: 7.5 MB / 314.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.007746/0.051, allocations: 10.2 MB / 333.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.05162, allocations: 0.6205 MB / 334 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.05185, allocations: 228.4 kB / 334.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.05191, allocations: 37.3 kB / 334.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.05194, allocations: 47.88 kB / 334.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.05194, allocations: 0 / 334.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=134): time 0.00238/0.05432, allocations: 1.723 MB / 336.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.05436, allocations: 102.4 kB / 336.2 MB, free: 9.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.05499, allocations: 1.026 MB / 337.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.05505, allocations: 53.7 kB / 337.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.05544, allocations: 0.9885 MB / 338.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.05567, allocations: 495.8 kB / 338.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.05596, allocations: 383.6 kB / 339.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.05603, allocations: 305.1 kB / 339.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.05624, allocations: 192.2 kB / 339.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.0571, allocations: 1.067 MB / 340.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.05846, allocations: 1.856 MB / 342.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.05847, allocations: 11.94 kB / 342.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001676/0.06014, allocations: 1.573 MB / 344.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.06017, allocations: 20 kB / 344.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.06019, allocations: 36.11 kB / 344.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.061, allocations: 484.5 kB / 344.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.06172, allocations: 463.2 kB / 345.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.06721, allocations: 9.647 MB / 354.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/0.06797, allocations: 75.95 kB / 354.8 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.06808, allocations: 87.98 kB / 354.9 MB, free: 5.562 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.trafo3.i1[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * 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 initialization (230): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,8,100.0%), (1,10,100.0%), (2,12,100.0%), (1,2,100.0%), (1,1,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005752/0.06865, allocations: 269.4 kB / 355.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.06881, allocations: 119.9 kB / 355.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.06964, allocations: 0.8013 MB / 356 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.06964, allocations: 12 kB / 356.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.06965, allocations: 4 kB / 356.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.06966, allocations: 3.984 kB / 356.1 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.07192, allocations: 2.162 MB / 358.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.07192, allocations: 8 kB / 358.2 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.07265, allocations: 336 kB / 358.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.07292, allocations: 222.8 kB / 358.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.07306, allocations: 75.27 kB / 358.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.07311, allocations: 35.98 kB / 358.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.07439, allocations: 2.446 MB / 361.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.07439, allocations: 11.94 kB / 361.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.07533, allocations: 1.231 MB / 362.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.07543, allocations: 39.98 kB / 362.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.07572, allocations: 28 kB / 362.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.07582, allocations: 116.6 kB / 362.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.07586, allocations: 32 kB / 362.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.07617, allocations: 461.5 kB / 363.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07617, allocations: 0 / 363.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001195/0.07737, allocations: 0.5 MB / 363.7 MB, free: 12.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 8 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3],trafo3.i1[1],trafo3.i1[2]) * 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 (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.07753, allocations: 146 kB / 363.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.07912, allocations: 1.961 MB / 365.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.174e-05/0.07917, allocations: 39.83 kB / 365.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.07966, allocations: 0.6633 MB / 366.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.0814, allocations: 2.326 MB / 368.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/0.1044, allocations: 3.822 MB / 372.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.1049, allocations: 0.567 MB / 373.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006268/0.1055, allocations: 234.1 kB / 373.5 MB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.106, allocations: 325.2 kB / 373.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.106, allocations: 0 / 373.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of Templates: time 0.02455/0.1305, allocations: 18.85 MB / 392.7 MB, free: 14.8 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.192108959890902]