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.001847/0.001847, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001938/0.001938, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3171/0.3171, allocations: 29.41 MB / 290.5 MB, free: 2.418 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.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",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.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.264e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01039/0.01042, allocations: 7.405 MB / 376.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.02015, allocations: 4.405 MB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.02088, allocations: 19.94 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.02452, allocations: 1.054 MB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.02986, allocations: 1.322 MB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.03137, allocations: 354.6 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.03411, allocations: 1.429 MB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.03544, allocations: 0.5743 MB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.03763, allocations: 0.8605 MB / 386.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.03908, allocations: 0.744 MB / 387 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.03923, allocations: 80 kB / 387.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.04264, allocations: 1.433 MB / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008082/0.04345, allocations: 0.6548 MB / 389.2 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.04407, allocations: 415.1 kB / 389.6 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.04742, allocations: 1.998 MB / 391.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.04742, allocations: 0 / 391.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.04742, allocations: 4 kB / 391.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.04744, allocations: 0 / 391.6 MB, free: 4.5 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.002877/0.05032, allocations: 1.45 MB / 393.1 MB, free: 3.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.05036, allocations: 15.98 kB / 393.1 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.05461, allocations: 0.7607 MB / 393.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.05601, allocations: 0.494 MB / 394.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.05609, allocations: 62.38 kB / 394.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.05627, allocations: 88.36 kB / 394.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.05832, allocations: 0.9789 MB / 395.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.05835, allocations: 192 / 395.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.05846, allocations: 36.36 kB / 395.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.05861, allocations: 105.9 kB / 395.6 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.06033, allocations: 0.777 MB / 396.4 MB, free: 15.61 MB / 378.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.008765/0.0691, allocations: 3.921 MB / 400.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.07053, allocations: 0.654 MB / 401 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.07125, allocations: 365.3 kB / 401.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.07133, allocations: 24.98 kB / 401.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.07139, allocations: 46.58 kB / 401.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.707e-06/0.07139, allocations: 0 / 401.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.007118/0.07851, allocations: 2.352 MB / 403.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.07859, allocations: 90.11 kB / 403.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.07931, allocations: 0.5414 MB / 404.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.07938, allocations: 45.7 kB / 404.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.07982, allocations: 0.4955 MB / 404.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/0.08027, allocations: 412.7 kB / 405.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.08065, allocations: 228.5 kB / 405.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004155/0.08107, allocations: 0.5977 MB / 406.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.08162, allocations: 250.4 kB / 406.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000892/0.08251, allocations: 0.5564 MB / 406.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.08436, allocations: 0.9289 MB / 407.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.08437, allocations: 0 / 407.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002709/0.08707, allocations: 1.187 MB / 409 MB, free: 2.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.0871, allocations: 8 kB / 409.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.08712, allocations: 8 kB / 409.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.08837, allocations: 340.5 kB / 409.4 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.08937, allocations: 231.6 kB / 409.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.097, allocations: 5.432 MB / 415.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/0.09775, allocations: 59.94 kB / 415.1 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.09786, allocations: 52.02 kB / 415.2 MB, free: 12.08 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.0004463/0.0983, allocations: 224.3 kB / 415.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.09853, allocations: 111.5 kB / 415.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.1013, allocations: 1.141 MB / 416.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.1013, allocations: 12 kB / 416.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1013, allocations: 4 kB / 416.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1013, allocations: 3.984 kB / 416.6 MB, free: 10.56 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.005573/0.1069, allocations: 2.397 MB / 419 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.1069, allocations: 0 / 419 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/0.1077, allocations: 183.8 kB / 419.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.1087, allocations: 295.1 kB / 419.5 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.1088, allocations: 20 kB / 419.5 MB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007396/0.1162, allocations: 5.277 MB / 424.8 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.1162, allocations: 7.984 kB / 424.8 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.1191, allocations: 1.361 MB / 426.2 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.1193, allocations: 83.44 kB / 426.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1195, allocations: 27.94 kB / 426.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.12, allocations: 51.95 kB / 426.3 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.1202, allocations: 104.6 kB / 426.4 MB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.1203, allocations: 36 kB / 426.5 MB, free: 284 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005045/0.1208, allocations: 319.1 kB / 426.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1208, allocations: 0 / 426.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001487/0.1223, allocations: 396 kB / 427.2 MB, free: 15.57 MB / 410.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.0002361/0.1225, allocations: 123.1 kB / 427.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.1254, allocations: 1.317 MB / 428.6 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1254, allocations: 0 / 428.6 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.127, allocations: 0.9403 MB / 429.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.1277, allocations: 102.9 kB / 429.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.1313, allocations: 1.799 MB / 431.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.132, allocations: 0.5327 MB / 432 MB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005392/0.1325, allocations: 193.3 kB / 432.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.1328, allocations: 68.48 kB / 432.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1328, allocations: 0 / 432.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Templates: time 0.1925/0.3252, allocations: 12.85 MB / 445.1 MB, free: 105.5 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.494268971029669]