Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001338/0.001338, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.001282/0.001282, allocations: 168.7 kB / 24.91 MB, free: 8.77 MB / 18.57 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2396/0.2396, allocations: 29.43 MB / 291.2 MB, free: 2.457 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.724e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005342/0.005359, allocations: 6.699 MB / 323.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.008781, allocations: 3.283 MB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.009019, allocations: 15.94 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.009936, allocations: 0.7235 MB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.01166, allocations: 1.295 MB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.01222, allocations: 350.8 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009691/0.01319, allocations: 1.406 MB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/0.01377, allocations: 0.6211 MB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000719/0.01449, allocations: 0.8411 MB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.01539, allocations: 0.6933 MB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.01547, allocations: 80 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.01692, allocations: 1.387 MB / 334.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.01729, allocations: 0.6587 MB / 334.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.01758, allocations: 411.1 kB / 335.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.019, allocations: 1.659 MB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.019, allocations: 0 / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.019, allocations: 4 kB / 337 MB, free: 11.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01901, allocations: 4 kB / 337 MB, free: 11.78 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001089/0.0201, allocations: 1.243 MB / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.02013, allocations: 15.92 kB / 338.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.02201, allocations: 0.6639 MB / 338.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.02247, allocations: 458.9 kB / 339.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.02251, allocations: 66.36 kB / 339.4 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.02261, allocations: 88.36 kB / 339.5 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.02352, allocations: 0.7931 MB / 340.3 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.02354, allocations: 12.12 kB / 340.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.0236, allocations: 40.34 kB / 340.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.02368, allocations: 102 kB / 340.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.02417, allocations: 398.1 kB / 340.8 MB, free: 7.812 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.003144/0.02732, allocations: 3.084 MB / 343.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.0279, allocations: 0.5634 MB / 344.5 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.02815, allocations: 254.4 kB / 344.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.0282, allocations: 21 kB / 344.7 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.02822, allocations: 43.56 kB / 344.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 2.174e-06/0.02822, allocations: 0 / 344.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=108): time 0.002617/0.03084, allocations: 1.661 MB / 346.4 MB, free: 2.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.03088, allocations: 90.11 kB / 346.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.03108, allocations: 391 kB / 346.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.03127, allocations: 41.7 kB / 347 MB, free: 1.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.03141, allocations: 393.5 kB / 347.3 MB, free: 1.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.03159, allocations: 384.6 kB / 347.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.03176, allocations: 190.8 kB / 347.9 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.03185, allocations: 386.6 kB / 348.3 MB, free: 128 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.03202, allocations: 134.6 kB / 348.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.03228, allocations: 360.1 kB / 348.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.03278, allocations: 0.5903 MB / 349.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.03279, allocations: 7.938 kB / 349.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009023/0.03369, allocations: 0.7918 MB / 350.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.03371, allocations: 8 kB / 350.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.03371, allocations: 8 kB / 350.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.0342, allocations: 277.7 kB / 350.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.03461, allocations: 199.7 kB / 350.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.0375, allocations: 3.828 MB / 354.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.03781, allocations: 32.03 kB / 354.5 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.03786, allocations: 43.92 kB / 354.5 MB, free: 9.492 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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 {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.03807, allocations: 168.4 kB / 354.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.03816, allocations: 79.92 kB / 354.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009455/0.03911, allocations: 0.8154 MB / 355.6 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.03912, allocations: 15.94 kB / 355.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.03912, allocations: 8 kB / 355.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.03913, allocations: 3.984 kB / 355.6 MB, free: 8.375 MB / 330.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 postOpt removeSimpleEquations (simulation): time 0.001981/0.04111, allocations: 1.689 MB / 357.3 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.04112, allocations: 4 kB / 357.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.04145, allocations: 163.7 kB / 357.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.04188, allocations: 249 kB / 357.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.04192, allocations: 27.98 kB / 357.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.0451, allocations: 3.751 MB / 361.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.0451, allocations: 7.938 kB / 361.5 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.04627, allocations: 0.9917 MB / 362.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.0464, allocations: 83.52 kB / 362.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.04649, allocations: 23.98 kB / 362.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.04672, allocations: 24 kB / 362.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.04685, allocations: 96.7 kB / 362.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.0469, allocations: 27.98 kB / 362.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.04706, allocations: 156.7 kB / 362.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04706, allocations: 0 / 362.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009969/0.04806, allocations: 396 kB / 363.3 MB, free: 340 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * 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,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.04822, allocations: 120.2 kB / 363.4 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.04928, allocations: 0.9525 MB / 364.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.0493, allocations: 8.5 kB / 364.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.04992, allocations: 0.6969 MB / 365.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.05041, allocations: 118.5 kB / 365.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.05273, allocations: 1.751 MB / 366.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.05298, allocations: 317.2 kB / 367.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.05318, allocations: 77.5 kB / 367.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.05342, allocations: 151.3 kB / 367.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.05342, allocations: 0 / 367.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of Templates: time 0.01505/0.06847, allocations: 13.36 MB / 380.8 MB, free: 14.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.32782352110371]