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.001731/0.001731, 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.002168/0.002168, 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.518/1.518, 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.1863/0.1863, allocations: 38.56 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.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.002346/0.002346, allocations: 79.88 kB / 493.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3206, allocations: 62.45 MB / 0.5432 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008629/0.3292, allocations: 7.04 MB / 0.55 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.3357, allocations: 4.114 MB / 0.5541 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.3362, allocations: 16.44 kB / 0.5541 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.3389, allocations: 1.02 MB / 0.5551 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.3423, allocations: 1.21 MB / 0.5563 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000966/0.3433, allocations: 323.1 kB / 0.5566 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.3451, allocations: 1.409 MB / 0.5579 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008413/0.3459, allocations: 0.5013 MB / 0.5584 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.347, allocations: 0.642 MB / 0.5591 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.348, allocations: 0.7124 MB / 0.5598 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3481, allocations: 60 kB / 0.5598 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.3504, allocations: 1.122 MB / 0.5609 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.3509, allocations: 490.7 kB / 0.5614 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.3514, allocations: 370.4 kB / 0.5617 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3535, allocations: 1.468 MB / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3535, allocations: 4 kB / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3535, allocations: 0 / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3536, allocations: 0 / 0.5632 GB, free: 15.66 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.001736/0.3553, allocations: 1.074 MB / 0.5642 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3553, allocations: 15.97 kB / 0.5642 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.3584, allocations: 391.9 kB / 0.5646 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.3594, allocations: 433.7 kB / 0.565 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.3594, allocations: 58.34 kB / 0.5651 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3596, allocations: 72.36 kB / 0.5651 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3615, allocations: 1.176 MB / 0.5663 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.3616, allocations: 3.938 kB / 0.5663 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.3616, allocations: 31.98 kB / 0.5663 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3617, allocations: 73.95 kB / 0.5664 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3637, allocations: 1.237 MB / 0.5676 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.3694, allocations: 3.112 MB / 0.5706 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3711, allocations: 0.9835 MB / 0.5716 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.372, allocations: 0.5939 MB / 0.5722 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.3721, allocations: 13 kB / 0.5722 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3721, allocations: 43.56 kB / 0.5722 GB, free: 6.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/0.3721, allocations: 0 / 0.5722 GB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007011/0.3792, allocations: 3.017 MB / 0.5752 GB, free: 3.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.3792, allocations: 86.11 kB / 0.5753 GB, free: 3.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.3797, allocations: 353.6 kB / 0.5756 GB, free: 2.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/0.3798, allocations: 45.69 kB / 0.5756 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.38, allocations: 320.9 kB / 0.576 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3803, allocations: 333.1 kB / 0.5763 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.3806, allocations: 154.6 kB / 0.5764 GB, free: 1.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3808, allocations: 370.8 kB / 0.5768 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.3816, allocations: 469.7 kB / 0.5772 GB, free: 1.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.3824, allocations: 0.5695 MB / 0.5778 GB, free: 420 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.3841, allocations: 1.113 MB / 0.5789 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3841, allocations: 0 / 0.5789 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00267/0.3868, allocations: 1.47 MB / 0.5803 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3868, allocations: 4 kB / 0.5803 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3868, allocations: 4 kB / 0.5803 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009755/0.3878, allocations: 336.8 kB / 0.5806 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.3885, allocations: 175.7 kB / 0.5808 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.3942, allocations: 3.884 MB / 0.5846 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.3947, allocations: 43.95 kB / 0.5846 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.3948, allocations: 47.91 kB / 0.5847 GB, free: 9.207 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.0004711/0.3953, allocations: 297.6 kB / 0.585 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3954, allocations: 59.62 kB / 0.585 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.3983, allocations: 1.547 MB / 0.5865 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3983, allocations: 15.94 kB / 0.5865 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3983, allocations: 4 kB / 0.5865 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.3983, allocations: 15.97 kB / 0.5866 GB, free: 7.25 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.005286/0.4036, allocations: 2.661 MB / 0.5892 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4036, allocations: 4 kB / 0.5892 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.4043, allocations: 163.8 kB / 0.5893 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/0.4051, allocations: 285.4 kB / 0.5896 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.4052, allocations: 27.98 kB / 0.5896 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.4105, allocations: 3.672 MB / 0.5932 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.4105, allocations: 7.938 kB / 0.5932 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.4133, allocations: 1.59 MB / 0.5948 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.4135, allocations: 67.55 kB / 0.5948 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.4136, allocations: 24 kB / 0.5949 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.414, allocations: 47.89 kB / 0.5949 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.4142, allocations: 84.72 kB / 0.595 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.4143, allocations: 36 kB / 0.595 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003017/0.4146, allocations: 247.2 kB / 0.5952 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4146, allocations: 0 / 0.5952 GB, free: 14.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001004/0.4156, allocations: 308 kB / 0.5955 GB, free: 13.8 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.0001904/0.4158, allocations: 131 kB / 0.5957 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.4181, allocations: 1.342 MB / 0.597 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4181, allocations: 0 / 0.597 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.4194, allocations: 0.7891 MB / 0.5977 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.4201, allocations: 113.2 kB / 0.5979 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.4232, allocations: 1.888 MB / 0.5997 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.4238, allocations: 476.8 kB / 0.6002 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.424, allocations: 79.33 kB / 0.6002 GB, free: 8.855 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.424, allocations: 0 / 0.6002 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Templates: time 0.01881/0.4428, allocations: 12.78 MB / 0.6127 GB, free: 12.05 MB / 462.1 MB " [Timeout remaining time 660] 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/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: 8.864445725921541]