Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.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.00129/0.00129, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001502/0.001502, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8363/0.8363, allocations: 158.6 MB / 185.2 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0384/0.0384, allocations: 10.64 MB / 248.2 MB, free: 4.301 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 320 MB, free: 39.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.447e-05, allocations: 3.297 kB / 320 MB, free: 39.22 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.06842/0.06844, allocations: 98.59 MB / 418.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2052/0.2736, allocations: 36.24 MB / 454.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01731/0.2909, allocations: 383 kB / 455.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01667/0.3076, allocations: 5.38 MB / 460.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03937/0.347, allocations: 17.12 MB / 477.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006823/0.3538, allocations: 1.976 MB / 479.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0394/0.3932, allocations: 37.81 MB / 0.5054 GB, free: 1.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.3984, allocations: 1.304 MB / 0.5066 GB, free: 496 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03853/0.437, allocations: 16.67 MB / 0.5229 GB, free: 2.199 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01973/0.4567, allocations: 10.52 MB / 0.5332 GB, free: 8.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005603/0.4623, allocations: 1.348 MB / 0.5345 GB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.4766, allocations: 3.3 MB / 0.5377 GB, free: 3.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004969/0.4816, allocations: 3.298 MB / 0.5409 GB, free: 408 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01841/0.5, allocations: 7.955 MB / 0.5487 GB, free: 8.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.028/0.528, allocations: 15.92 MB / 0.5642 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.528, allocations: 3.938 kB / 0.5643 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.528, allocations: 0 / 0.5643 GB, free: 10.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006614/0.5287, allocations: 0 / 0.5643 GB, free: 10.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.3234/0.8521, allocations: 27.4 MB / 0.591 GB, free: 76.58 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8521, allocations: 8.938 kB / 0.591 GB, free: 76.58 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.8636, allocations: 4.16 MB / 0.5951 GB, free: 75.96 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.8773, allocations: 8.771 MB / 0.6036 GB, free: 74.73 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000868/0.8782, allocations: 1.167 MB / 0.6048 GB, free: 74.51 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/0.8813, allocations: 1.297 MB / 0.6061 GB, free: 74.51 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.9027, allocations: 9.747 MB / 0.6156 GB, free: 72.62 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004426/0.9032, allocations: 17.28 kB / 0.6156 GB, free: 72.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.9058, allocations: 0.5535 MB / 0.6161 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/0.906, allocations: 333.2 kB / 0.6164 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.9198, allocations: 6.422 MB / 0.6227 GB, free: 72.25 MB / 458.8 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.08903/1.009, allocations: 55.67 MB / 0.6771 GB, free: 43.86 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.025, allocations: 15.95 MB / 0.6927 GB, free: 31.36 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005584/1.031, allocations: 3.618 MB / 0.6962 GB, free: 27.78 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/1.031, allocations: 287.3 kB / 0.6965 GB, free: 27.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004675/1.036, allocations: 4.503 MB / 0.7009 GB, free: 23.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1464): time 2.144e-05/1.036, allocations: 0 / 0.7009 GB, free: 23.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01853/1.054, allocations: 11.8 MB / 0.7124 GB, free: 11.73 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.054, allocations: 0.7499 MB / 0.7131 GB, free: 10.84 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.065, allocations: 8.433 MB / 0.7214 GB, free: 4.102 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00185/1.067, allocations: 261.7 kB / 0.7216 GB, free: 3.84 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004523/1.071, allocations: 6.698 MB / 0.7281 GB, free: 13.73 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00811/1.079, allocations: 5.358 MB / 0.7334 GB, free: 8.668 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004261/1.083, allocations: 2.798 MB / 0.7361 GB, free: 6.172 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001168/1.084, allocations: 476.8 kB / 0.7366 GB, free: 5.703 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/1.087, allocations: 1.951 MB / 0.7385 GB, free: 3.719 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/1.092, allocations: 7.088 MB / 0.7454 GB, free: 11.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.104, allocations: 10.24 MB / 0.7554 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.104, allocations: 32 kB / 0.7554 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.02333/1.128, allocations: 13.23 MB / 0.7683 GB, free: 3.008 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.128, allocations: 170.7 kB / 0.7685 GB, free: 2.816 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.128, allocations: 100 kB / 0.7686 GB, free: 2.719 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2001/1.328, allocations: 6.456 MB / 0.7749 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007802/1.336, allocations: 3.077 MB / 0.7779 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03291/1.369, allocations: 22.38 MB / 0.7998 GB, free: 97.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/1.381, allocations: 1.497 MB / 0.8012 GB, free: 97.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/1.383, allocations: 486.5 kB / 0.8017 GB, free: 97.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$PRE.Tgen2.breakerStatusInInternal,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1724): * Single equations (assignments): 1718 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(335,0), (13,0)} Notification: Performance of prepare postOptimizeDAE: time 0.004424/1.388, allocations: 1.138 MB / 0.8028 GB, free: 97.57 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004885/1.393, allocations: 1.899 MB / 0.8047 GB, free: 96.82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.406, allocations: 10.32 MB / 0.8147 GB, free: 95.96 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001311/1.406, allocations: 73.31 kB / 0.8148 GB, free: 95.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.406, allocations: 0 / 0.8148 GB, free: 95.96 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009782/1.416, allocations: 3.402 MB / 0.8181 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00371/1.42, allocations: 239.5 kB / 0.8184 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009814/1.429, allocations: 319.9 kB / 0.8187 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002475/1.432, allocations: 1.151 MB / 0.8198 GB, free: 95.17 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01624/1.448, allocations: 9.935 MB / 0.8295 GB, free: 93.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0145/1.463, allocations: 11.54 MB / 0.8408 GB, free: 90.2 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003457/1.466, allocations: 2.539 MB / 0.8432 GB, free: 89.96 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006058/1.472, allocations: 4.404 MB / 0.8475 GB, free: 89.63 MB / 0.4949 GB Notification: Performance of Backend: time 9.42e-07/1.472, allocations: 0 / 0.8475 GB, free: 89.63 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02838/1.5, allocations: 13.38 MB / 0.8606 GB, free: 80.17 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04095/1.541, allocations: 27.65 MB / 0.8876 GB, free: 54.09 MB / 0.4949 GB Notification: Performance of Templates: time 0.6493/2.191, allocations: 262.6 MB / 1.144 GB, free: 129.2 MB / 0.5262 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.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: 11.121058337856084]