Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.00177/0.00177, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002095/0.002095, allocations: 160.8 kB / 24.5 MB, free: 3.719 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.527/1.527, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.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.1772/0.1772, allocations: 29.43 MB / 290.7 MB, free: 3.273 MB / 270.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [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.002157/0.002157, allocations: 63.91 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 62.44 MB / 493.7 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008322/0.3951, allocations: 7.027 MB / 0.489 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.4003, allocations: 4.124 MB / 0.493 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.4007, allocations: 16.5 kB / 0.493 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.403, allocations: 1.015 MB / 0.494 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.4058, allocations: 1.213 MB / 0.4952 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.4069, allocations: 326.6 kB / 0.4955 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.4084, allocations: 1.396 MB / 0.4968 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.4092, allocations: 0.5059 MB / 0.4973 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.4104, allocations: 0.6461 MB / 0.498 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.4112, allocations: 0.7037 MB / 0.4987 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.4113, allocations: 61.59 kB / 0.4987 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.4132, allocations: 1.13 MB / 0.4998 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.4136, allocations: 493.6 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.414, allocations: 367.3 kB / 0.5006 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.4159, allocations: 1.473 MB / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4159, allocations: 0 / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4159, allocations: 0 / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4159, allocations: 0 / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001466/0.4174, allocations: 1.077 MB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4174, allocations: 17.27 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.4205, allocations: 395.2 kB / 0.5035 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.4212, allocations: 428.7 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.4213, allocations: 55.27 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.4214, allocations: 71.42 kB / 0.5041 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.423, allocations: 1.18 MB / 0.5052 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.423, allocations: 7.359 kB / 0.5052 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.4231, allocations: 30.17 kB / 0.5052 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/0.4231, allocations: 74.84 kB / 0.5053 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.4246, allocations: 1.227 MB / 0.5065 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.429, allocations: 3.118 MB / 0.5096 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.4306, allocations: 0.9821 MB / 0.5105 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.4314, allocations: 0.5936 MB / 0.5111 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.4315, allocations: 14 kB / 0.5111 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4315, allocations: 48.41 kB / 0.5112 GB, free: 22.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.557e-06/0.4315, allocations: 0 / 0.5112 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=92): time 0.006535/0.438, allocations: 3.016 MB / 0.5141 GB, free: 20.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4381, allocations: 88.42 kB / 0.5142 GB, free: 20.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.4385, allocations: 354.5 kB / 0.5145 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.4385, allocations: 45.86 kB / 0.5146 GB, free: 20.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4387, allocations: 316.3 kB / 0.5149 GB, free: 20.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.4389, allocations: 328.7 kB / 0.5152 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.4391, allocations: 160.8 kB / 0.5153 GB, free: 20.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.4392, allocations: 362.5 kB / 0.5157 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.4399, allocations: 470.8 kB / 0.5161 GB, free: 19.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.4407, allocations: 0.5715 MB / 0.5167 GB, free: 19.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.4423, allocations: 1.112 MB / 0.5178 GB, free: 18.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4423, allocations: 1.344 kB / 0.5178 GB, free: 18.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002769/0.445, allocations: 1.466 MB / 0.5192 GB, free: 18.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.4451, allocations: 6.688 kB / 0.5192 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4451, allocations: 2.156 kB / 0.5192 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4461, allocations: 328.7 kB / 0.5195 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.4469, allocations: 187.7 kB / 0.5197 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.4531, allocations: 3.879 MB / 0.5235 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/0.454, allocations: 49.12 kB / 0.5235 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.4541, allocations: 37.56 kB / 0.5236 GB, free: 15.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006675/0.4548, allocations: 290.4 kB / 0.5239 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.455, allocations: 63.31 kB / 0.5239 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.4579, allocations: 1.554 MB / 0.5254 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4579, allocations: 14.94 kB / 0.5254 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.4579, allocations: 4.125 kB / 0.5255 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.4579, allocations: 10.47 kB / 0.5255 GB, free: 14.96 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.005893/0.4638, allocations: 2.667 MB / 0.5281 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.4638, allocations: 3.438 kB / 0.5281 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.4646, allocations: 165.7 kB / 0.5282 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009342/0.4655, allocations: 286.6 kB / 0.5285 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.4656, allocations: 28.53 kB / 0.5285 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.471, allocations: 3.676 MB / 0.5321 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.471, allocations: 8.062 kB / 0.5321 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.4739, allocations: 1.583 MB / 0.5337 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.4741, allocations: 70.11 kB / 0.5337 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.4742, allocations: 21.75 kB / 0.5338 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.4747, allocations: 38.64 kB / 0.5338 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.4749, allocations: 89.2 kB / 0.5339 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.4749, allocations: 38.69 kB / 0.5339 GB, free: 10.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.4753, allocations: 248.1 kB / 0.5342 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4753, allocations: 4 kB / 0.5342 GB, free: 10.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001126/0.4764, allocations: 303.5 kB / 0.5344 GB, free: 10.43 MB / 446.1 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000152/0.4765, allocations: 125.1 kB / 0.5346 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.4789, allocations: 1.343 MB / 0.5359 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4789, allocations: 1.031 kB / 0.5359 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4801, allocations: 0.7934 MB / 0.5367 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.4808, allocations: 109 kB / 0.5368 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.4839, allocations: 1.812 MB / 0.5385 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.4846, allocations: 477.5 kB / 0.539 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005475/0.4851, allocations: 183 kB / 0.5392 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.4853, allocations: 65.36 kB / 0.5392 GB, free: 8.34 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4853, allocations: 7.938 kB / 0.5392 GB, free: 8.332 MB / 446.1 MB Notification: Performance of Templates: time 0.01729/0.5026, allocations: 10.36 MB / 0.5493 GB, free: 176 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 5.584176704986021]