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.0007416/0.0007416, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009807/0.001722, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007075/0.0007075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009555/0.001663, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9851/0.9851, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08669/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1484/0.1484, allocations: 29.44 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1506/0.299, allocations: 9.528 MB / 283 MB, free: 12.85 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.963e-06/1.963e-06, allocations: 1.469 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.629e-05, allocations: 2.312 kB / 284.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005112/0.005128, allocations: 6.828 MB / 291.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.00852, allocations: 3.315 MB / 294.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.00873, allocations: 16.5 kB / 294.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.009793, allocations: 0.9239 MB / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.01173, allocations: 1.341 MB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.0123, allocations: 349.6 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.01344, allocations: 1.492 MB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.01399, allocations: 0.5979 MB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.01469, allocations: 0.8976 MB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.0153, allocations: 0.7557 MB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.01537, allocations: 80 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.01701, allocations: 1.418 MB / 302.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.01737, allocations: 0.6276 MB / 302.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.01764, allocations: 351.4 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.01922, allocations: 1.515 MB / 304.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.01924, allocations: 0 / 304.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01924, allocations: 0 / 304.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.01926, allocations: 0 / 304.7 MB, free: 10.25 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.001233/0.02049, allocations: 1.559 MB / 306.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.02052, allocations: 8.031 kB / 306.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.02241, allocations: 0.743 MB / 307.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.02287, allocations: 451 kB / 307.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.02291, allocations: 66.36 kB / 307.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.023, allocations: 96.31 kB / 307.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.02375, allocations: 0.793 MB / 308.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.02377, allocations: 192 / 308.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.02383, allocations: 36.36 kB / 308.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/0.02391, allocations: 105.9 kB / 308.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.02442, allocations: 402 kB / 309 MB, free: 5.891 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.003448/0.02787, allocations: 3.095 MB / 312.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.02849, allocations: 0.5829 MB / 312.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.02873, allocations: 246.5 kB / 312.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.02878, allocations: 32.97 kB / 312.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.02881, allocations: 39.56 kB / 313 MB, free: 1.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 2.735e-06/0.02881, allocations: 0 / 313 MB, free: 1.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=108): time 0.00269/0.0315, allocations: 1.65 MB / 314.6 MB, free: 76 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.03155, allocations: 90.16 kB / 314.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.03177, allocations: 390.9 kB / 315.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.03181, allocations: 41.7 kB / 315.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.03195, allocations: 393.6 kB / 315.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.03214, allocations: 392.5 kB / 315.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.03238, allocations: 190.8 kB / 316.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.03252, allocations: 386.6 kB / 316.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.03278, allocations: 134.5 kB / 316.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.03317, allocations: 356.2 kB / 316.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.0337, allocations: 0.5942 MB / 317.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.0337, allocations: 4 kB / 317.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009396/0.03464, allocations: 0.7996 MB / 318.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.03466, allocations: 8 kB / 318.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.03467, allocations: 4 kB / 318.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.03544, allocations: 268.8 kB / 318.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.03599, allocations: 266.1 kB / 318.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.03876, allocations: 3.846 MB / 322.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.03913, allocations: 35.94 kB / 322.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.03919, allocations: 32 kB / 322.8 MB, free: 7.473 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.0002298/0.03942, allocations: 172.4 kB / 322.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.03951, allocations: 87.88 kB / 323 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.04053, allocations: 0.8077 MB / 323.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.04054, allocations: 12 kB / 323.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.04054, allocations: 8 kB / 323.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.04055, allocations: 7.969 kB / 323.9 MB, free: 6.359 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.002371/0.04292, allocations: 1.693 MB / 325.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.04293, allocations: 4 kB / 325.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.04335, allocations: 202.4 kB / 325.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.04345, allocations: 79.39 kB / 325.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.04388, allocations: 249.1 kB / 326.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.04392, allocations: 31.98 kB / 326.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.04642, allocations: 3.748 MB / 329.9 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.04642, allocations: 8.062 kB / 329.9 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.04737, allocations: 0.9955 MB / 330.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.04745, allocations: 24 kB / 330.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.04768, allocations: 24 kB / 330.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.0478, allocations: 104.7 kB / 331 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.04784, allocations: 24 kB / 331 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.04796, allocations: 156.7 kB / 331.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04796, allocations: 4 kB / 331.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007882/0.04875, allocations: 400 kB / 331.6 MB, free: 14.26 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.000134/0.04888, allocations: 116.2 kB / 331.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009337/0.04982, allocations: 0.9567 MB / 332.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002956/0.05011, allocations: 23.31 kB / 332.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.05067, allocations: 0.6963 MB / 333.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.05115, allocations: 223.8 kB / 333.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.0705, allocations: 1.794 MB / 335.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.07078, allocations: 317.1 kB / 335.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.07111, allocations: 81.58 kB / 335.8 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.07138, allocations: 151.3 kB / 335.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of SimCode: time 2.655e-06/0.07138, allocations: 0 / 335.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of Templates: time 0.01547/0.08685, allocations: 13.58 MB / 349.5 MB, free: 12.28 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.982044745236635]