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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002961/0.002961, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1994/0.1994, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.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.002603/0.002603, allocations: 74.41 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4081, allocations: 62.46 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01033/0.4184, allocations: 7.046 MB / 0.5493 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.4262, allocations: 4.118 MB / 0.5533 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.4269, allocations: 16.59 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.4302, allocations: 1.015 MB / 0.5543 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.4344, allocations: 1.211 MB / 0.5555 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.4356, allocations: 330.3 kB / 0.5558 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.4385, allocations: 1.4 MB / 0.5572 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.4396, allocations: 0.4973 MB / 0.5577 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.4416, allocations: 0.6497 MB / 0.5583 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.4432, allocations: 0.7085 MB / 0.559 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.4435, allocations: 64 kB / 0.5591 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.4465, allocations: 1.122 MB / 0.5602 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007257/0.4472, allocations: 490.7 kB / 0.5606 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.4481, allocations: 370.4 kB / 0.561 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.4515, allocations: 1.472 MB / 0.5624 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4515, allocations: 0 / 0.5624 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4515, allocations: 0 / 0.5624 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.385e-05/0.4515, allocations: 3.938 kB / 0.5624 GB, free: 15.68 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002546/0.4541, allocations: 1.07 MB / 0.5635 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4541, allocations: 15.98 kB / 0.5635 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.4575, allocations: 387.9 kB / 0.5639 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.4588, allocations: 437.7 kB / 0.5643 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.4589, allocations: 58.36 kB / 0.5643 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.4591, allocations: 68.36 kB / 0.5644 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.4613, allocations: 1.176 MB / 0.5656 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.4613, allocations: 7.938 kB / 0.5656 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.4614, allocations: 31.92 kB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.4615, allocations: 73.95 kB / 0.5657 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.4637, allocations: 1.241 MB / 0.5669 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006327/0.47, allocations: 3.108 MB / 0.5699 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4718, allocations: 0.9796 MB / 0.5709 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/0.4727, allocations: 0.594 MB / 0.5714 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.4728, allocations: 13 kB / 0.5715 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.4728, allocations: 51.55 kB / 0.5715 GB, free: 6.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.514e-06/0.4728, allocations: 0 / 0.5715 GB, free: 6.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007036/0.4799, allocations: 3.012 MB / 0.5745 GB, free: 3.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.4799, allocations: 90.11 kB / 0.5745 GB, free: 3.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.4804, allocations: 361.5 kB / 0.5749 GB, free: 2.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4805, allocations: 41.7 kB / 0.5749 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.4808, allocations: 316.9 kB / 0.5752 GB, free: 2.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.4811, allocations: 329.1 kB / 0.5755 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.4814, allocations: 158.6 kB / 0.5757 GB, free: 1.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.4816, allocations: 366.8 kB / 0.576 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.4825, allocations: 473.7 kB / 0.5765 GB, free: 1.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/0.4833, allocations: 0.5695 MB / 0.577 GB, free: 448 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.4849, allocations: 1.106 MB / 0.5781 GB, free: 15.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4849, allocations: 8 kB / 0.5781 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002688/0.4876, allocations: 1.466 MB / 0.5796 GB, free: 13.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4877, allocations: 4 kB / 0.5796 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4877, allocations: 4 kB / 0.5796 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.4887, allocations: 337.7 kB / 0.5799 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.4894, allocations: 179.7 kB / 0.5801 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.4955, allocations: 3.875 MB / 0.5839 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.496, allocations: 47.94 kB / 0.5839 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4961, allocations: 47.91 kB / 0.5839 GB, free: 9.234 MB / 430.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.0004847/0.4966, allocations: 291.3 kB / 0.5842 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4967, allocations: 63.62 kB / 0.5843 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.4996, allocations: 1.555 MB / 0.5858 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.4996, allocations: 8 kB / 0.5858 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.4996, allocations: 11.94 kB / 0.5858 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4997, allocations: 3.984 kB / 0.5858 GB, free: 7.285 MB / 430.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.005529/0.5052, allocations: 2.665 MB / 0.5884 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.5052, allocations: 4 kB / 0.5884 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.5059, allocations: 163.8 kB / 0.5886 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.5067, allocations: 288.6 kB / 0.5889 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.5068, allocations: 27.98 kB / 0.5889 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.5123, allocations: 3.671 MB / 0.5925 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5123, allocations: 7.938 kB / 0.5925 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.5151, allocations: 1.587 MB / 0.594 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.5153, allocations: 75.55 kB / 0.5941 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5154, allocations: 23.98 kB / 0.5941 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.5158, allocations: 39.97 kB / 0.5942 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.516, allocations: 88.72 kB / 0.5942 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.5161, allocations: 35.98 kB / 0.5943 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.5164, allocations: 251.2 kB / 0.5945 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5164, allocations: 0 / 0.5945 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.5175, allocations: 304 kB / 0.5948 GB, free: 13.83 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.0002056/0.5177, allocations: 127.1 kB / 0.5949 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.5202, allocations: 1.342 MB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5202, allocations: 4.062 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.5215, allocations: 0.789 MB / 0.597 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.5223, allocations: 114.4 kB / 0.5971 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.526, allocations: 1.804 MB / 0.5989 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.5267, allocations: 476.8 kB / 0.5993 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.5271, allocations: 180.6 kB / 0.5995 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.5273, allocations: 67.34 kB / 0.5996 GB, free: 8.809 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5273, allocations: 4 kB / 0.5996 GB, free: 8.805 MB / 446.1 MB Notification: Performance of Templates: time 0.02178/0.5491, allocations: 11.36 MB / 0.6107 GB, free: 13.49 MB / 462.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/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.9538895562291145]