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.0009049/0.0009049, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00101/0.00101, allocations: 181 kB / 23.36 MB, free: 1.133 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.8344/0.8344, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.04101/0.04101, allocations: 10.65 MB / 248.2 MB, free: 4.363 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.513e-06/1.513e-06, allocations: 0 / 271 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.558e-05, allocations: 2.312 kB / 271 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.1846/0.1846, allocations: 98.65 MB / 369.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.055/0.2396, allocations: 37.42 MB / 407 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01628/0.2559, allocations: 385.9 kB / 407.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01465/0.2706, allocations: 5.67 MB / 413.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03846/0.309, allocations: 17.11 MB / 430.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006902/0.3159, allocations: 1.98 MB / 432.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1928/0.5088, allocations: 37.88 MB / 470.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004045/0.5128, allocations: 1.438 MB / 471.5 MB, free: 25.74 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02878/0.5416, allocations: 16.67 MB / 488.2 MB, free: 23.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01478/0.5564, allocations: 10.46 MB / 498.6 MB, free: 22.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003631/0.56, allocations: 1.345 MB / 500 MB, free: 22.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.5671, allocations: 3.35 MB / 0.4915 GB, free: 21.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.5689, allocations: 3.299 MB / 0.4948 GB, free: 19.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.5802, allocations: 7.95 MB / 0.5025 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0249/0.6051, allocations: 15.89 MB / 0.518 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6051, allocations: 0 / 0.518 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6051, allocations: 0 / 0.518 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006669/0.6057, allocations: 4 kB / 0.5181 GB, free: 0.5078 MB / 394.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.05744/0.6632, allocations: 28.13 MB / 0.5455 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6632, allocations: 8.031 kB / 0.5455 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008901/0.6721, allocations: 3.806 MB / 0.5492 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.6834, allocations: 5.361 MB / 0.5545 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000774/0.6842, allocations: 1.166 MB / 0.5556 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.6855, allocations: 1.297 MB / 0.5569 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.6978, allocations: 9.442 MB / 0.5661 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.698, allocations: 16 kB / 0.5661 GB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007624/0.6988, allocations: 0.5508 MB / 0.5667 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.699, allocations: 336 kB / 0.567 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009604/0.7086, allocations: 5.595 MB / 0.5724 GB, free: 11.17 MB / 458.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.4497/1.158, allocations: 43.09 MB / 0.6145 GB, free: 57.41 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/1.174, allocations: 12.97 MB / 0.6272 GB, free: 54.36 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008974/1.183, allocations: 3.291 MB / 0.6304 GB, free: 54.11 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.184, allocations: 263.3 kB / 0.6307 GB, free: 54.1 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009787/1.194, allocations: 4.352 MB / 0.6349 GB, free: 53.37 MB / 474.8 MB Notification: Performance of pre-optimization done (n=1464): time 3.739e-05/1.194, allocations: 7.359 kB / 0.6349 GB, free: 53.36 MB / 474.8 MB Notification: Performance of matching and sorting (n=1464): time 0.03233/1.226, allocations: 9.399 MB / 0.6441 GB, free: 52.66 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002762/1.227, allocations: 0.7458 MB / 0.6448 GB, free: 51.93 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.237, allocations: 7.781 MB / 0.6524 GB, free: 51.41 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001827/1.239, allocations: 259.3 kB / 0.6527 GB, free: 51.38 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.242, allocations: 4.87 MB / 0.6574 GB, free: 50.37 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004804/1.247, allocations: 5.362 MB / 0.6627 GB, free: 47.64 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002185/1.249, allocations: 2.619 MB / 0.6652 GB, free: 47.43 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.615e-05/1.249, allocations: 301.1 kB / 0.6655 GB, free: 47.13 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.251, allocations: 1.668 MB / 0.6671 GB, free: 46.97 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/1.254, allocations: 5.388 MB / 0.6724 GB, free: 42.98 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006075/1.26, allocations: 8.645 MB / 0.6808 GB, free: 38.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/1.26, allocations: 27.56 kB / 0.6809 GB, free: 38.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.01409/1.274, allocations: 10.6 MB / 0.6912 GB, free: 37.43 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.274, allocations: 165.1 kB / 0.6914 GB, free: 37.26 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/1.274, allocations: 104 kB / 0.6915 GB, free: 37.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/1.288, allocations: 6.274 MB / 0.6976 GB, free: 32.86 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006629/1.295, allocations: 3.251 MB / 0.7008 GB, free: 30.32 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/1.318, allocations: 19.12 MB / 0.7194 GB, free: 17.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/1.33, allocations: 1.49 MB / 0.7209 GB, free: 16.71 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.332, allocations: 482.5 kB / 0.7214 GB, free: 16.37 MB / 474.8 MB 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.003794/1.336, allocations: 1.098 MB / 0.7224 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003404/1.339, allocations: 1.384 MB / 0.7238 GB, free: 14.77 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/1.348, allocations: 8.638 MB / 0.7322 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/1.348, allocations: 71.73 kB / 0.7323 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.348, allocations: 0 / 0.7323 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005903/1.354, allocations: 1.618 MB / 0.7339 GB, free: 6.172 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.356, allocations: 241.7 kB / 0.7341 GB, free: 6.113 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005208/1.361, allocations: 315.5 kB / 0.7344 GB, free: 5.984 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.362, allocations: 1.157 MB / 0.7355 GB, free: 4.922 MB / 474.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01139/1.374, allocations: 7.86 MB / 0.7432 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01168/1.385, allocations: 8.919 MB / 0.7519 GB, free: 5.656 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002398/1.388, allocations: 2.333 MB / 0.7542 GB, free: 3.773 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005327/1.393, allocations: 4.049 MB / 0.7581 GB, free: 412 kB / 490.8 MB Notification: Performance of Backend: time 5.41e-07/1.393, allocations: 0 / 0.7581 GB, free: 412 kB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0234/1.417, allocations: 12.69 MB / 0.7705 GB, free: 5.469 MB / 0.4949 GB Notification: Performance of SimCode: time 0.2288/1.645, allocations: 27.21 MB / 0.7971 GB, free: 86.99 MB / 0.4949 GB Notification: Performance of Templates: time 0.4818/2.127, allocations: 262.5 MB / 1.053 GB, free: 56.96 MB / 0.5105 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 -s gbode -gbm=radauIIA3 -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.023324598092586]