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.001286/0.001286, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001252/0.001252, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.118/0.118, allocations: 29.43 MB / 292 MB, free: 2.621 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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.483e-06/1.483e-06, allocations: 3.938 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.739e-05, allocations: 2.312 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004645/0.004672, allocations: 6.674 MB / 377.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.007867, allocations: 3.228 MB / 380.8 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.008234, allocations: 15.94 kB / 380.8 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009536/0.009188, allocations: 0.708 MB / 381.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.01113, allocations: 1.303 MB / 382.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.01175, allocations: 350.7 kB / 383.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.01278, allocations: 1.402 MB / 384.6 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.01337, allocations: 0.5782 MB / 385.2 MB, free: 17.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.01424, allocations: 0.8257 MB / 386 MB, free: 17.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.01494, allocations: 0.744 MB / 386.7 MB, free: 16.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01504, allocations: 80 kB / 386.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.01686, allocations: 1.422 MB / 388.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.01725, allocations: 0.6587 MB / 388.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.01757, allocations: 415.1 kB / 389.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.01944, allocations: 1.651 MB / 390.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01944, allocations: 4 kB / 390.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01944, allocations: 0 / 390.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.01947, allocations: 3.938 kB / 390.9 MB, free: 12.16 MB / 314.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.001246/0.02071, allocations: 1.414 MB / 392.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.02075, allocations: 8.031 kB / 392.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.02283, allocations: 0.6399 MB / 393 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.02336, allocations: 469.8 kB / 393.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.02339, allocations: 66.36 kB / 393.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.02348, allocations: 84.36 kB / 393.6 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.02425, allocations: 0.799 MB / 394.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.02428, allocations: 192 / 394.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.02433, allocations: 40.3 kB / 394.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.237e-05/0.0244, allocations: 105.9 kB / 394.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.02497, allocations: 477.8 kB / 395 MB, free: 7.957 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 preOpt removeSimpleEquations (simulation): time 0.003354/0.02832, allocations: 3.557 MB / 398.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.02906, allocations: 0.5577 MB / 399.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.02932, allocations: 281.2 kB / 399.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.02937, allocations: 20.98 kB / 399.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.0294, allocations: 54.52 kB / 399.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 3.025e-06/0.0294, allocations: 7.938 kB / 399.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=108): time 0.003067/0.03247, allocations: 1.845 MB / 401.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.0325, allocations: 90.11 kB / 401.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.03275, allocations: 478.3 kB / 401.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.03279, allocations: 45.7 kB / 401.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.03293, allocations: 499.3 kB / 402.4 MB, free: 316 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.03314, allocations: 392.7 kB / 402.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.03335, allocations: 212.4 kB / 403 MB, free: 15.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.03353, allocations: 0.5741 MB / 403.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.03373, allocations: 162.3 kB / 403.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.03408, allocations: 473.7 kB / 404.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.03474, allocations: 0.6985 MB / 404.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.03474, allocations: 4 kB / 404.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00124/0.03598, allocations: 0.9957 MB / 405.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.036, allocations: 10.25 kB / 405.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.03602, allocations: 8 kB / 405.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/0.03658, allocations: 297.2 kB / 406.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.03703, allocations: 199.7 kB / 406.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.04084, allocations: 5.032 MB / 411.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.0413, allocations: 28 kB / 411.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.04135, allocations: 36 kB / 411.5 MB, free: 6.73 MB / 330.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.0003451/0.0417, allocations: 220.3 kB / 411.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.04183, allocations: 107.5 kB / 411.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.04333, allocations: 0.9647 MB / 412.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.04334, allocations: 12 kB / 412.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.04335, allocations: 4 kB / 412.8 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.04336, allocations: 7.969 kB / 412.8 MB, free: 5.391 MB / 330.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.003152/0.04651, allocations: 1.917 MB / 414.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.04652, allocations: 4 kB / 414.7 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.047, allocations: 159.8 kB / 414.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/0.04763, allocations: 265.5 kB / 415.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.0477, allocations: 31.98 kB / 415.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.05189, allocations: 4.918 MB / 420.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.0519, allocations: 4 kB / 420.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.05343, allocations: 1.193 MB / 421.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.05358, allocations: 79.47 kB / 421.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.05367, allocations: 27.98 kB / 421.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.054, allocations: 24 kB / 421.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.05415, allocations: 96.7 kB / 421.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.05421, allocations: 31.98 kB / 421.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.05442, allocations: 275 kB / 421.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05442, allocations: 8 kB / 421.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001084/0.0555, allocations: 396 kB / 422.2 MB, free: 11.57 MB / 346.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.0001619/0.05567, allocations: 127 kB / 422.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.05709, allocations: 1.131 MB / 423.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.05709, allocations: 0.5625 kB / 423.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.05797, allocations: 0.8498 MB / 424.3 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.0586, allocations: 107.7 kB / 424.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.06159, allocations: 1.755 MB / 426.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.06189, allocations: 317.3 kB / 426.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.06217, allocations: 77.5 kB / 426.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.06246, allocations: 174.2 kB / 426.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06246, allocations: 0 / 426.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of Templates: time 0.02046/0.08292, allocations: 13.81 MB / 440.5 MB, free: 9.156 MB / 362.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 -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: 3.5308327451348305]