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.000953/0.000953, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009688/0.0009688, allocations: 165 kB / 24.56 MB, free: 4 kB / 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 0.9565/0.9565, allocations: 177.1 MB / 205 MB, free: 5.605 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.2773/0.2773, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.363e-06/1.363e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.469e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005507/0.005522, allocations: 6.755 MB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.009182, allocations: 3.248 MB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.009473, allocations: 23.88 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.01045, allocations: 0.7081 MB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.01243, allocations: 1.303 MB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.01303, allocations: 350.8 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01404, allocations: 1.402 MB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.01463, allocations: 0.5743 MB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.01535, allocations: 0.8257 MB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.01601, allocations: 0.7479 MB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.01609, allocations: 80 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.01787, allocations: 1.43 MB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.01826, allocations: 0.6587 MB / 387.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.01857, allocations: 411.1 kB / 388.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.0202, allocations: 1.659 MB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.0202, allocations: 0 / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.0202, allocations: 7.938 kB / 389.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.02021, allocations: 0 / 389.8 MB, free: 6.723 MB / 362.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.001365/0.02158, allocations: 1.392 MB / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.02161, allocations: 11.98 kB / 391.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.02381, allocations: 0.7647 MB / 392 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.02439, allocations: 0.49 MB / 392.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.02443, allocations: 62.38 kB / 392.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.02454, allocations: 84.36 kB / 392.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.02562, allocations: 0.9086 MB / 393.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.02565, allocations: 8.141 kB / 393.5 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.02598, allocations: 40.36 kB / 393.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.449e-05/0.02607, allocations: 105.9 kB / 393.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.02704, allocations: 0.6482 MB / 394.3 MB, free: 2.086 MB / 362.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.004472/0.03151, allocations: 3.651 MB / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.03276, allocations: 0.6425 MB / 398.6 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.0334, allocations: 349.3 kB / 399 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.272e-05/0.03347, allocations: 17 kB / 399 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.03352, allocations: 54.33 kB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.858e-06/0.03352, allocations: 0 / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.00451/0.03803, allocations: 2.269 MB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.03809, allocations: 94.14 kB / 401.4 MB, free: 10.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.03843, allocations: 482.4 kB / 401.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.03848, allocations: 41.7 kB / 401.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.03869, allocations: 491.4 kB / 402.4 MB, free: 9.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.0389, allocations: 396.6 kB / 402.8 MB, free: 9.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.0391, allocations: 204.5 kB / 403 MB, free: 9.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.03929, allocations: 0.5665 MB / 403.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.03961, allocations: 218.5 kB / 403.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.04006, allocations: 0.5173 MB / 404.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/0.04089, allocations: 0.8081 MB / 405.1 MB, free: 6.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.0409, allocations: 4 kB / 405.1 MB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001377/0.04227, allocations: 1.129 MB / 406.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.0423, allocations: 8 kB / 406.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.0423, allocations: 4 kB / 406.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.04294, allocations: 304.1 kB / 406.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.04341, allocations: 235.6 kB / 406.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.04711, allocations: 5.205 MB / 412 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.04743, allocations: 63.94 kB / 412 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.04748, allocations: 43.98 kB / 412.1 MB, free: 15.61 MB / 394.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.00019/0.04767, allocations: 216.3 kB / 412.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.04778, allocations: 107.5 kB / 412.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.04907, allocations: 1.086 MB / 413.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.04908, allocations: 16 kB / 413.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.04908, allocations: 4 kB / 413.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.04909, allocations: 7.984 kB / 413.5 MB, free: 14.14 MB / 394.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.003063/0.05215, allocations: 2.198 MB / 415.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.05216, allocations: 4 kB / 415.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.05255, allocations: 187.7 kB / 415.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.05305, allocations: 263.5 kB / 416.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.0531, allocations: 28 kB / 416.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.05623, allocations: 5.097 MB / 421.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05623, allocations: 4 kB / 421.3 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.05784, allocations: 1.287 MB / 422.6 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.05792, allocations: 87.45 kB / 422.6 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.05798, allocations: 27.94 kB / 422.7 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.05824, allocations: 47.95 kB / 422.7 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.05837, allocations: 100.7 kB / 422.8 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.05841, allocations: 36 kB / 422.8 MB, free: 4.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.0586, allocations: 295 kB / 423.1 MB, free: 4.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0586, allocations: 0 / 423.1 MB, free: 4.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007031/0.0593, allocations: 400 kB / 423.5 MB, free: 3.66 MB / 394.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.0001335/0.05943, allocations: 127 kB / 423.7 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.06069, allocations: 1.239 MB / 424.9 MB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.0607, allocations: 4.062 kB / 424.9 MB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.06143, allocations: 0.8967 MB / 425.8 MB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.06186, allocations: 103.2 kB / 425.9 MB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.06415, allocations: 1.799 MB / 427.7 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.06442, allocations: 317.3 kB / 428 MB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.06469, allocations: 185.3 kB / 428.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.06485, allocations: 72.47 kB / 428.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06485, allocations: 0 / 428.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of Templates: time 0.01498/0.07983, allocations: 13.23 MB / 441.5 MB, free: 1.59 MB / 410.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.3378471811302006]