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.001091/0.001091, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.002918, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009854/0.0009854, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.002074, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9854/0.9854, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1057/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1576/0.1576, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1424/0.3, allocations: 9.535 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 1.188 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.805e-06/9.378e-06, allocations: 3.703 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004727/0.004736, allocations: 6.843 MB / 291.3 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.008185, allocations: 3.316 MB / 294.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.008417, allocations: 19.81 kB / 294.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.009447, allocations: 0.9289 MB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.01143, allocations: 1.342 MB / 296.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.01209, allocations: 346.8 kB / 297.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.01345, allocations: 1.488 MB / 298.7 MB, free: 412 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.01407, allocations: 0.6057 MB / 299.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.01496, allocations: 0.9016 MB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007845/0.01574, allocations: 0.744 MB / 301 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.01584, allocations: 84 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.01767, allocations: 1.418 MB / 302.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.01807, allocations: 0.6354 MB / 303.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.01837, allocations: 351.4 kB / 303.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.02006, allocations: 1.515 MB / 305 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.02007, allocations: 0 / 305 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02007, allocations: 0 / 305 MB, free: 10.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.02008, allocations: 0 / 305 MB, free: 10.13 MB / 298.7 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.001343/0.02143, allocations: 1.555 MB / 306.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.02146, allocations: 8.031 kB / 306.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.02344, allocations: 0.7547 MB / 307.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.02392, allocations: 451 kB / 307.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.02396, allocations: 66.36 kB / 307.8 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.02406, allocations: 96.31 kB / 307.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.02487, allocations: 0.7969 MB / 308.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.02489, allocations: 192 / 308.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.02495, allocations: 36.36 kB / 308.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-05/0.02503, allocations: 101.9 kB / 308.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.02553, allocations: 394 kB / 309.2 MB, free: 5.766 MB / 298.7 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.003305/0.02884, allocations: 3.099 MB / 312.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.02946, allocations: 0.5789 MB / 312.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.02972, allocations: 258.5 kB / 313.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.02977, allocations: 17 kB / 313.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.0298, allocations: 47.56 kB / 313.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 1.974e-06/0.0298, allocations: 0 / 313.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=108): time 0.002664/0.03246, allocations: 1.677 MB / 314.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.0325, allocations: 90.11 kB / 315 MB, free: 15.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.03272, allocations: 386.9 kB / 315.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.03277, allocations: 41.7 kB / 315.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.03291, allocations: 393.6 kB / 315.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.0331, allocations: 388.5 kB / 316.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.03327, allocations: 198.8 kB / 316.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.03338, allocations: 382.6 kB / 316.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.03354, allocations: 130.6 kB / 316.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.0338, allocations: 360.2 kB / 317.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.03434, allocations: 0.6127 MB / 317.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.03434, allocations: 4 kB / 317.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008951/0.03523, allocations: 0.7957 MB / 318.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.03525, allocations: 8 kB / 318.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.03526, allocations: 4 kB / 318.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/0.03576, allocations: 276.7 kB / 318.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.03627, allocations: 258.5 kB / 319.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.03893, allocations: 3.847 MB / 323 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.03917, allocations: 35.97 kB / 323 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.03922, allocations: 35.98 kB / 323.1 MB, free: 7.301 MB / 314.7 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.0001755/0.03939, allocations: 176.3 kB / 323.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.03949, allocations: 83.92 kB / 323.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.04041, allocations: 0.8077 MB / 324.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.04042, allocations: 12 kB / 324.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.04042, allocations: 8 kB / 324.1 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.04043, allocations: 3.984 kB / 324.2 MB, free: 6.188 MB / 314.7 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.00197/0.0424, allocations: 1.689 MB / 325.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.04241, allocations: 4 kB / 325.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.04282, allocations: 199.7 kB / 326 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.04289, allocations: 79.39 kB / 326.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.04331, allocations: 253.2 kB / 326.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.04335, allocations: 27.98 kB / 326.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.04581, allocations: 3.764 MB / 330.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.04582, allocations: 8.062 kB / 330.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.04671, allocations: 0.9917 MB / 331.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.04677, allocations: 24 kB / 331.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.04698, allocations: 27.98 kB / 331.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.04709, allocations: 96.7 kB / 331.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.04712, allocations: 28 kB / 331.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.04723, allocations: 160.7 kB / 331.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04723, allocations: 0 / 331.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006023/0.04783, allocations: 408 kB / 331.9 MB, free: 14.08 MB / 330.7 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.0001164/0.04795, allocations: 112.2 kB / 332 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.04882, allocations: 0.9661 MB / 333 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.499e-05/0.04885, allocations: 23.34 kB / 333 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.04956, allocations: 0.8571 MB / 333.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.05007, allocations: 365.2 kB / 334.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.07376, allocations: 1.806 MB / 336 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.07406, allocations: 321.3 kB / 336.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.07437, allocations: 85.56 kB / 336.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.07465, allocations: 147.3 kB / 336.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.07465, allocations: 0 / 336.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of Templates: time 0.01701/0.09166, allocations: 13.6 MB / 350.1 MB, free: 11.72 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.086919406428933]