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.001794/0.001794, allocations: 73.64 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.00183/0.00183, allocations: 160 kB / 24.5 MB, free: 3.715 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.535/1.535, 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.1815/0.1815, 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_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: 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.0021/0.0021, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4069, allocations: 62.45 MB / 493.7 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006593/0.4135, allocations: 7.034 MB / 0.489 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.4185, allocations: 4.17 MB / 0.493 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.4189, allocations: 19.56 kB / 0.493 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4212, allocations: 1.013 MB / 0.494 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.4247, allocations: 1.292 MB / 0.4953 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4258, allocations: 353 kB / 0.4956 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.4272, allocations: 1.403 MB / 0.497 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.4281, allocations: 0.5682 MB / 0.4976 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.4292, allocations: 0.6703 MB / 0.4982 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.4301, allocations: 0.7668 MB / 0.499 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.4302, allocations: 78.09 kB / 0.499 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.4325, allocations: 1.403 MB / 0.5004 GB, free: 27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.433, allocations: 0.6124 MB / 0.501 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.4334, allocations: 481 kB / 0.5015 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.4358, allocations: 1.902 MB / 0.5033 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4358, allocations: 0 / 0.5033 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4358, allocations: 2.844 kB / 0.5033 GB, free: 25.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4359, allocations: 4 kB / 0.5033 GB, free: 25.95 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001888/0.4378, allocations: 1.292 MB / 0.5046 GB, free: 25.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4378, allocations: 10.42 kB / 0.5046 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.4417, allocations: 0.5523 MB / 0.5051 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4428, allocations: 0.5058 MB / 0.5056 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.4428, allocations: 68.08 kB / 0.5057 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.443, allocations: 85.42 kB / 0.5058 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.4451, allocations: 1.508 MB / 0.5073 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.4451, allocations: 0 / 0.5073 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/0.4452, allocations: 37.27 kB / 0.5073 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.4453, allocations: 103.5 kB / 0.5074 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.4473, allocations: 1.539 MB / 0.5089 GB, free: 23.52 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 preOpt removeSimpleEquations (simulation): time 0.006891/0.4542, allocations: 4.216 MB / 0.513 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.4558, allocations: 1.092 MB / 0.5141 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.4568, allocations: 0.6808 MB / 0.5147 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.4568, allocations: 19.75 kB / 0.5148 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4569, allocations: 45.06 kB / 0.5148 GB, free: 20.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=107): time 3.666e-06/0.4569, allocations: 0 / 0.5148 GB, free: 20.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=108): time 0.008027/0.4649, allocations: 3.524 MB / 0.5182 GB, free: 19.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.465, allocations: 94.39 kB / 0.5183 GB, free: 19.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.4656, allocations: 475 kB / 0.5188 GB, free: 18.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.4656, allocations: 40.52 kB / 0.5188 GB, free: 18.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.4659, allocations: 439.7 kB / 0.5192 GB, free: 18.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4662, allocations: 398.4 kB / 0.5196 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.4665, allocations: 197.8 kB / 0.5198 GB, free: 18.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4666, allocations: 381.7 kB / 0.5202 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.4675, allocations: 0.5338 MB / 0.5207 GB, free: 17.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.4687, allocations: 0.7573 MB / 0.5214 GB, free: 17.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.4716, allocations: 1.402 MB / 0.5228 GB, free: 16.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4716, allocations: 2.562 kB / 0.5228 GB, free: 16.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00536/0.477, allocations: 1.792 MB / 0.5246 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.477, allocations: 10 kB / 0.5246 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.4771, allocations: 7.312 kB / 0.5246 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.4785, allocations: 400.7 kB / 0.525 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.48, allocations: 243.5 kB / 0.5252 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009392/0.4894, allocations: 5.623 MB / 0.5307 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4908, allocations: 63.12 kB / 0.5307 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.491, allocations: 43.86 kB / 0.5308 GB, free: 11.9 MB / 446.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.0007958/0.4918, allocations: 365.6 kB / 0.5311 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.4919, allocations: 83.92 kB / 0.5312 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.4961, allocations: 1.793 MB / 0.533 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.4961, allocations: 12.59 kB / 0.533 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.4962, allocations: 9.641 kB / 0.533 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.4962, allocations: 6.984 kB / 0.533 GB, free: 10.92 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.008337/0.5045, allocations: 3.07 MB / 0.536 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.5045, allocations: 7.25 kB / 0.536 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.5056, allocations: 190 kB / 0.5362 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.5069, allocations: 344.8 kB / 0.5365 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.5071, allocations: 28.91 kB / 0.5365 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008772/0.5158, allocations: 5.401 MB / 0.5418 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.5158, allocations: 5.969 kB / 0.5418 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.5195, allocations: 1.815 MB / 0.5436 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.5198, allocations: 83.72 kB / 0.5437 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.52, allocations: 29.8 kB / 0.5437 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.5205, allocations: 51.12 kB / 0.5437 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.5208, allocations: 95.25 kB / 0.5438 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/0.5209, allocations: 40.7 kB / 0.5439 GB, free: 4.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004162/0.5213, allocations: 319.9 kB / 0.5442 GB, free: 4.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5213, allocations: 0 / 0.5442 GB, free: 4.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001443/0.5227, allocations: 397.2 kB / 0.5446 GB, free: 4.418 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.0001628/0.5229, allocations: 131.7 kB / 0.5447 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.5254, allocations: 1.68 MB / 0.5463 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5254, allocations: 0 / 0.5463 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.5268, allocations: 1.028 MB / 0.5473 GB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.5278, allocations: 128.7 kB / 0.5475 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.5312, allocations: 2.251 MB / 0.5496 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/0.532, allocations: 0.5717 MB / 0.5502 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006194/0.5326, allocations: 233.3 kB / 0.5504 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.5328, allocations: 68.47 kB / 0.5505 GB, free: 14.48 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5328, allocations: 4 kB / 0.5505 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Templates: time 0.026/0.5588, allocations: 12.69 MB / 0.5629 GB, free: 1.867 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/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.646197371999733]