Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001767/0.001767, 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.00201/0.00201, 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1911/0.1911, allocations: 38.55 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.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [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.002162/0.002162, allocations: 63.91 kB / 493.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2836, allocations: 62.46 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003369/0.2869, allocations: 2.135 MB / 0.5453 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.2878, allocations: 0.5143 MB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2878, allocations: 5.219 kB / 0.5458 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2879, allocations: 10.55 kB / 0.5458 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2881, allocations: 29.98 kB / 0.5458 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.2884, allocations: 85.58 kB / 0.5459 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2885, allocations: 56.98 kB / 0.5459 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.2886, allocations: 6.375 kB / 0.5459 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2887, allocations: 31.97 kB / 0.546 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.2888, allocations: 34.08 kB / 0.546 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.2888, allocations: 1.156 kB / 0.546 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.289, allocations: 104.3 kB / 0.5461 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.289, allocations: 15.36 kB / 0.5461 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.2891, allocations: 14.34 kB / 0.5461 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2893, allocations: 105.4 kB / 0.5462 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2893, allocations: 4 kB / 0.5462 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2893, allocations: 1.25 kB / 0.5462 GB, free: 14.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2893, allocations: 3.938 kB / 0.5462 GB, free: 14.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004287/0.2897, allocations: 330.9 kB / 0.5466 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2897, allocations: 9.219 kB / 0.5466 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.2898, allocations: 7.828 kB / 0.5466 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2899, allocations: 121.5 kB / 0.5467 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2899, allocations: 1.5 kB / 0.5467 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.29, allocations: 9.562 kB / 0.5467 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2901, allocations: 110 kB / 0.5468 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2901, allocations: 4 kB / 0.5468 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2901, allocations: 0 / 0.5468 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2902, allocations: 1.188 kB / 0.5468 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2903, allocations: 81.42 kB / 0.5469 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.2904, allocations: 115.8 kB / 0.547 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2905, allocations: 92.38 kB / 0.5471 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.2906, allocations: 86.03 kB / 0.5472 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2906, allocations: 1.125 kB / 0.5472 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.2906, allocations: 35.69 kB / 0.5472 GB, free: 13.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.2906, allocations: 0 / 0.5472 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003594/0.291, allocations: 294.5 kB / 0.5475 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.2911, allocations: 89.86 kB / 0.5476 GB, free: 12.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2912, allocations: 118.1 kB / 0.5477 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2912, allocations: 25.7 kB / 0.5477 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.2912, allocations: 94.25 kB / 0.5478 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.2913, allocations: 41.7 kB / 0.5478 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.2913, allocations: 16.25 kB / 0.5479 GB, free: 12.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2915, allocations: 325.4 kB / 0.5482 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.2916, allocations: 81.3 kB / 0.5482 GB, free: 12.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.2916, allocations: 81.92 kB / 0.5483 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.2918, allocations: 174.2 kB / 0.5485 GB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2918, allocations: 4.062 kB / 0.5485 GB, free: 11.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002376/0.2921, allocations: 212.4 kB / 0.5487 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.2921, allocations: 49.19 kB / 0.5487 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2921, allocations: 0 / 0.5487 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2921, allocations: 3.984 kB / 0.5487 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.2921, allocations: 1.094 kB / 0.5487 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2921, allocations: 0 / 0.5487 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.2922, allocations: 7.25 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2922, allocations: 2.25 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2923, allocations: 169.3 kB / 0.5489 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2924, allocations: 21.5 kB / 0.5489 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.2924, allocations: 5.781 kB / 0.5489 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2924, allocations: 0 / 0.5489 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2924, allocations: 5.219 kB / 0.5489 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2924, allocations: 3.984 kB / 0.549 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.2925, allocations: 109.9 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2925, allocations: 1.375 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.2925, allocations: 0 / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2925, allocations: 3.938 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2925, allocations: 4.031 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2925, allocations: 0 / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2925, allocations: 4 kB / 0.5491 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.2929, allocations: 322.8 kB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.2929, allocations: 6.766 kB / 0.5494 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2929, allocations: 6.75 kB / 0.5494 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.2929, allocations: 2.25 kB / 0.5494 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2929, allocations: 5.391 kB / 0.5494 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.293, allocations: 8.031 kB / 0.5494 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.194e-05/0.293, allocations: 96.58 kB / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.293, allocations: 1.406 kB / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.2932, allocations: 30.84 kB / 0.5495 GB, free: 11.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001703/0.2934, allocations: 122.7 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2938, allocations: 303.8 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2938, allocations: 1.219 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.294, allocations: 192.2 kB / 0.5501 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2943, allocations: 13.62 kB / 0.5501 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.2948, allocations: 360.8 kB / 0.5505 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.937e-05/0.2949, allocations: 85.7 kB / 0.5506 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.2949, allocations: 7.438 kB / 0.5506 GB, free: 10.38 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2949, allocations: 0 / 0.5506 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Templates: time 0.003111/0.298, allocations: 1.277 MB / 0.5518 GB, free: 9.762 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 7.927007952239364]