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.0009638/0.0009638, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001022/0.001022, allocations: 168.6 kB / 25 MB, free: 8.863 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 0.9965/0.9965, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2426/0.2426, allocations: 29.42 MB / 291.2 MB, free: 2.512 MB / 266.7 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.[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.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.825e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006247/0.006275, allocations: 7.468 MB / 377.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.01094, allocations: 4.416 MB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004511/0.01139, allocations: 19.88 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.01288, allocations: 1.051 MB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.01537, allocations: 1.322 MB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.01611, allocations: 354.6 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.01772, allocations: 1.425 MB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.01846, allocations: 0.5705 MB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.0195, allocations: 0.8605 MB / 387.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.02036, allocations: 0.7479 MB / 387.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.02044, allocations: 76 kB / 387.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.02278, allocations: 1.429 MB / 389.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.02332, allocations: 0.6587 MB / 390 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.02371, allocations: 415.1 kB / 390.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.0263, allocations: 1.659 MB / 392.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.02631, allocations: 0 / 392.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.02631, allocations: 0 / 392.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.02632, allocations: 0 / 392.1 MB, free: 4.77 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.001644/0.02797, allocations: 1.403 MB / 393.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.02802, allocations: 15.98 kB / 393.5 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.03099, allocations: 0.7491 MB / 394.3 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.03169, allocations: 0.4978 MB / 394.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.03173, allocations: 62.38 kB / 394.8 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.03183, allocations: 88.3 kB / 394.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.03296, allocations: 0.9047 MB / 395.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.03298, allocations: 16.08 kB / 395.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.03306, allocations: 40.36 kB / 395.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.03319, allocations: 101.9 kB / 396 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.03446, allocations: 0.6443 MB / 396.6 MB, free: 128 kB / 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.005405/0.03986, allocations: 3.655 MB / 400.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.04093, allocations: 0.6499 MB / 400.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.04147, allocations: 341.7 kB / 401.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.04153, allocations: 24.98 kB / 401.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.04156, allocations: 54.33 kB / 401.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.858e-06/0.04157, allocations: 0 / 401.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.005112/0.04668, allocations: 2.254 MB / 403.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.04674, allocations: 94.05 kB / 403.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.04723, allocations: 490.4 kB / 404.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.04729, allocations: 41.7 kB / 404.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.04761, allocations: 487.5 kB / 404.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.04796, allocations: 396.6 kB / 405 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.04824, allocations: 200.6 kB / 405.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.04848, allocations: 0.5664 MB / 405.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.04892, allocations: 222.5 kB / 406 MB, free: 6.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.04979, allocations: 0.5212 MB / 406.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.05093, allocations: 0.8081 MB / 407.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.05094, allocations: 0 / 407.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002002/0.05294, allocations: 1.129 MB / 408.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.05296, allocations: 8.094 kB / 408.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.05298, allocations: 8 kB / 408.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008567/0.05384, allocations: 308 kB / 408.8 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.05454, allocations: 235.6 kB / 409 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.05947, allocations: 5.194 MB / 414.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.06002, allocations: 71.92 kB / 414.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.0601, allocations: 43.98 kB / 414.3 MB, free: 13.64 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.0002971/0.0604, allocations: 212.3 kB / 414.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.06056, allocations: 111.5 kB / 414.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.06242, allocations: 1.078 MB / 415.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.06243, allocations: 12 kB / 415.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.06244, allocations: 8 kB / 415.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.06245, allocations: 7.969 kB / 415.8 MB, free: 12.18 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.003619/0.06607, allocations: 2.194 MB / 418 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.06608, allocations: 4 kB / 418 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.06662, allocations: 195.7 kB / 418.1 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/0.06732, allocations: 259.5 kB / 418.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.06738, allocations: 31.98 kB / 418.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/0.07197, allocations: 5.096 MB / 423.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.07198, allocations: 7.938 kB / 423.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.07389, allocations: 1.291 MB / 424.8 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.07406, allocations: 83.41 kB / 424.9 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.07416, allocations: 31.92 kB / 424.9 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.07455, allocations: 47.95 kB / 425 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.07473, allocations: 100.7 kB / 425.1 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.0748, allocations: 35.98 kB / 425.1 MB, free: 2.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002637/0.07506, allocations: 287.1 kB / 425.4 MB, free: 2.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07506, allocations: 4 kB / 425.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001092/0.07615, allocations: 396 kB / 425.8 MB, free: 1.699 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.0001759/0.07633, allocations: 131 kB / 425.9 MB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.07816, allocations: 1.239 MB / 427.2 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.07817, allocations: 4 kB / 427.2 MB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.0796, allocations: 0.8968 MB / 428.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.08039, allocations: 102.4 kB / 428.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.08367, allocations: 1.803 MB / 430 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.08402, allocations: 317.2 kB / 430.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.08447, allocations: 189.3 kB / 430.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.08466, allocations: 64.48 kB / 430.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.446e-06/0.08466, allocations: 0 / 430.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of Templates: time 0.1586/0.2432, allocations: 12.88 MB / 443.4 MB, free: 93.48 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.65236732410267]