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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 112 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 181.5 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1864/0.1864, allocations: 38.54 MB / 346.3 MB, free: 2.121 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",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.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.88 kB / 484.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 61.28 MB / 0.533 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007525/0.374, allocations: 7.603 MB / 0.5405 GB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007576/0.3816, allocations: 4.513 MB / 0.5449 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.3822, allocations: 21.03 kB / 0.5449 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.385, allocations: 1.072 MB / 0.5459 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.3885, allocations: 1.292 MB / 0.5472 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3897, allocations: 348.8 kB / 0.5475 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.3918, allocations: 1.406 MB / 0.5489 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.3927, allocations: 0.5137 MB / 0.5494 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.3938, allocations: 0.6521 MB / 0.5501 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.3948, allocations: 0.805 MB / 0.5508 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3949, allocations: 79.47 kB / 0.5509 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.398, allocations: 1.648 MB / 0.5525 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006323/0.3987, allocations: 0.6225 MB / 0.5531 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.3993, allocations: 0.5606 MB / 0.5537 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.4023, allocations: 1.89 MB / 0.5555 GB, free: 5.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4023, allocations: 4 kB / 0.5555 GB, free: 5.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4023, allocations: 0 / 0.5555 GB, free: 5.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4024, allocations: 3.938 kB / 0.5555 GB, free: 5.176 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002184/0.4045, allocations: 1.292 MB / 0.5568 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4046, allocations: 8.031 kB / 0.5568 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.4085, allocations: 0.5425 MB / 0.5573 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4097, allocations: 0.5076 MB / 0.5578 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.4097, allocations: 66.36 kB / 0.5579 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.4099, allocations: 92.31 kB / 0.558 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.4124, allocations: 1.501 MB / 0.5594 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.4124, allocations: 0 / 0.5594 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4125, allocations: 43.92 kB / 0.5595 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.4126, allocations: 102 kB / 0.5596 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4151, allocations: 1.55 MB / 0.5611 GB, free: 15.36 MB / 414.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 preOpt removeSimpleEquations (simulation): time 0.008063/0.4231, allocations: 4.829 MB / 0.5658 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.425, allocations: 1.094 MB / 0.5669 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.426, allocations: 0.6865 MB / 0.5676 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.4261, allocations: 17.06 kB / 0.5676 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.4261, allocations: 55.44 kB / 0.5676 GB, free: 8.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.4261, allocations: 96 / 0.5676 GB, free: 8.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.00798/0.4341, allocations: 3.525 MB / 0.5711 GB, free: 4.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.4342, allocations: 90.11 kB / 0.5712 GB, free: 4.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.4347, allocations: 473.8 kB / 0.5716 GB, free: 4.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.4348, allocations: 45.69 kB / 0.5716 GB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.4351, allocations: 440.6 kB / 0.5721 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.4355, allocations: 384.7 kB / 0.5724 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.4359, allocations: 202.9 kB / 0.5726 GB, free: 3.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.4361, allocations: 382.8 kB / 0.573 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/0.437, allocations: 0.5412 MB / 0.5735 GB, free: 2.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.438, allocations: 0.7462 MB / 0.5742 GB, free: 1.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.4401, allocations: 1.408 MB / 0.5756 GB, free: 32 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4401, allocations: 3.938 kB / 0.5756 GB, free: 28 kB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003155/0.4433, allocations: 1.794 MB / 0.5774 GB, free: 14.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4433, allocations: 8 kB / 0.5774 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4433, allocations: 4 kB / 0.5774 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4444, allocations: 410.6 kB / 0.5778 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.4453, allocations: 231.6 kB / 0.578 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00796/0.4532, allocations: 5.871 MB / 0.5837 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.4541, allocations: 59.94 kB / 0.5838 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.4542, allocations: 47.98 kB / 0.5838 GB, free: 7.348 MB / 430.1 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.0005975/0.4547, allocations: 361.4 kB / 0.5842 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4549, allocations: 75.53 kB / 0.5843 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.4582, allocations: 1.803 MB / 0.586 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.4582, allocations: 12 kB / 0.586 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.4583, allocations: 7.938 kB / 0.586 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4583, allocations: 3.984 kB / 0.586 GB, free: 5.07 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.00627/0.4645, allocations: 3.425 MB / 0.5894 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4645, allocations: 4 kB / 0.5894 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.4653, allocations: 195.7 kB / 0.5896 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009974/0.4663, allocations: 345.3 kB / 0.5899 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.4664, allocations: 39.92 kB / 0.5899 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007459/0.4739, allocations: 5.579 MB / 0.5954 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4739, allocations: 7.938 kB / 0.5954 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.4771, allocations: 1.825 MB / 0.5972 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.4773, allocations: 83.52 kB / 0.5973 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4774, allocations: 24 kB / 0.5973 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.478, allocations: 47.94 kB / 0.5973 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.4782, allocations: 96.7 kB / 0.5974 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.4782, allocations: 43.98 kB / 0.5975 GB, free: 8.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.4787, allocations: 327.1 kB / 0.5978 GB, free: 8.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4787, allocations: 0 / 0.5978 GB, free: 8.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001253/0.4799, allocations: 396 kB / 0.5982 GB, free: 8.219 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 (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.0002038/0.4801, allocations: 131 kB / 0.5983 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.483, allocations: 1.689 MB / 0.5999 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.483, allocations: 0 / 0.5999 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.4846, allocations: 1.022 MB / 0.6009 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.4853, allocations: 121.3 kB / 0.601 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.4891, allocations: 2.248 MB / 0.6032 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/0.4901, allocations: 1.167 MB / 0.6044 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005854/0.4907, allocations: 245.4 kB / 0.6046 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.4909, allocations: 63.41 kB / 0.6047 GB, free: 1.391 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4909, allocations: 4 kB / 0.6047 GB, free: 1.387 MB / 446.1 MB Notification: Performance of Templates: time 0.02531/0.5162, allocations: 13.95 MB / 0.6183 GB, free: 3.438 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.875689312815666]