Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001694/0.001694, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001751/0.001751, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2603/0.2603, allocations: 29.42 MB / 291.2 MB, free: 2.449 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_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.991e-05, allocations: 5.406 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01238/0.0124, allocations: 6.678 MB / 376.8 MB, free: 4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.0159, allocations: 3.174 MB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.01623, allocations: 19.94 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01726, allocations: 0.7041 MB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.01946, allocations: 1.217 MB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.02011, allocations: 326.8 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.02137, allocations: 1.398 MB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.02207, allocations: 0.5128 MB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.02313, allocations: 0.7906 MB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.02393, allocations: 0.6933 MB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.02402, allocations: 64 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.02561, allocations: 1.121 MB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.02597, allocations: 0.5183 MB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.02625, allocations: 311.3 kB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.02784, allocations: 1.281 MB / 388.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02785, allocations: 0 / 388.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02785, allocations: 7.938 kB / 388.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.02786, allocations: 0 / 388.9 MB, free: 7.832 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001477/0.02934, allocations: 1.185 MB / 390.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.02939, allocations: 11.98 kB / 390.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.03115, allocations: 479.6 kB / 390.6 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.03164, allocations: 395.8 kB / 391 MB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.03168, allocations: 58.3 kB / 391 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.03177, allocations: 72.36 kB / 391.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.03246, allocations: 0.6383 MB / 391.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.03248, allocations: 4.125 kB / 391.7 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.03252, allocations: 32.3 kB / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.03259, allocations: 81.89 kB / 391.9 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.03306, allocations: 389.5 kB / 392.2 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.03569, allocations: 2.513 MB / 394.8 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.03631, allocations: 0.551 MB / 395.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.03654, allocations: 234.3 kB / 395.5 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.03658, allocations: 21 kB / 395.6 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.03661, allocations: 50.39 kB / 395.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.194e-06/0.03661, allocations: 0 / 395.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.002595/0.03921, allocations: 1.569 MB / 397.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.03925, allocations: 93.98 kB / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.03948, allocations: 378.5 kB / 397.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.03952, allocations: 45.73 kB / 397.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.03969, allocations: 371.6 kB / 398 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.03988, allocations: 333.1 kB / 398.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.04005, allocations: 168.2 kB / 398.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.04022, allocations: 0.5507 MB / 399.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.04039, allocations: 137.9 kB / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.04065, allocations: 283.6 kB / 399.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.04114, allocations: 480.6 kB / 400 MB, free: 12.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.04114, allocations: 0 / 400 MB, free: 12.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001047/0.04219, allocations: 0.7814 MB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.04221, allocations: 4 kB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.04222, allocations: 4 kB / 400.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.04275, allocations: 240.4 kB / 401 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.04312, allocations: 159.8 kB / 401.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.04612, allocations: 3.084 MB / 404.2 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.04638, allocations: 24.03 kB / 404.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.04642, allocations: 27.98 kB / 404.3 MB, free: 7.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.04666, allocations: 204.4 kB / 404.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.04676, allocations: 87.61 kB / 404.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.04781, allocations: 0.8277 MB / 405.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.04782, allocations: 16 kB / 405.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.04783, allocations: 4 kB / 405.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.04784, allocations: 7.922 kB / 405.4 MB, free: 6.816 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 postOpt removeSimpleEquations (simulation): time 0.002095/0.04993, allocations: 1.68 MB / 407.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.04994, allocations: 4 kB / 407.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.05023, allocations: 147.8 kB / 407.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.05062, allocations: 203.9 kB / 407.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.05066, allocations: 23.98 kB / 407.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.05279, allocations: 3.003 MB / 410.5 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.0528, allocations: 7.938 kB / 410.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.05378, allocations: 1.053 MB / 411.5 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.05386, allocations: 63.55 kB / 411.6 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.05391, allocations: 31.92 kB / 411.6 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.05411, allocations: 24 kB / 411.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.0542, allocations: 84.75 kB / 411.7 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.05424, allocations: 31.94 kB / 411.8 MB, free: 172 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.05437, allocations: 235 kB / 412 MB, free: 15.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05437, allocations: 4 kB / 412 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006192/0.05499, allocations: 307.9 kB / 412.3 MB, free: 15.63 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001237/0.05511, allocations: 127.1 kB / 412.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.05596, allocations: 0.8307 MB / 413.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.05597, allocations: 4 kB / 413.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.05647, allocations: 0.5908 MB / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.05687, allocations: 90.45 kB / 413.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.05876, allocations: 1.442 MB / 415.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.05899, allocations: 267.9 kB / 415.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.05918, allocations: 68.72 kB / 415.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.0594, allocations: 158.2 kB / 415.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0594, allocations: 0 / 415.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of Templates: time 0.0133/0.0727, allocations: 10.97 MB / 426.8 MB, free: 0.9922 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.4415438999421895]