Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001328/0.001328, allocations: 88.22 kB / 20.95 MB, free: 3.598 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.001391/0.001391, allocations: 169 kB / 24.26 MB, free: 296 kB / 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.8661/0.8661, allocations: 158.6 MB / 186.1 MB, free: 2.484 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.06046/0.06046, allocations: 10.65 MB / 249 MB, free: 4.496 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_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 320.2 MB, free: 39.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.881e-05, allocations: 3.078 kB / 320.2 MB, free: 39.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.05255/0.05256, allocations: 100.2 MB / 420.4 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1875/0.24, allocations: 36.39 MB / 456.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01462/0.2547, allocations: 388.5 kB / 457.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01536/0.27, allocations: 5.369 MB / 462.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03442/0.3044, allocations: 17.21 MB / 479.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005766/0.3102, allocations: 1.978 MB / 481.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03823/0.3484, allocations: 37.76 MB / 0.5073 GB, free: 32 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.3525, allocations: 1.309 MB / 0.5086 GB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03236/0.3848, allocations: 17.12 MB / 0.5253 GB, free: 2.004 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0182/0.403, allocations: 10.08 MB / 0.5352 GB, free: 8.406 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003848/0.4069, allocations: 1.211 MB / 0.5364 GB, free: 7.195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.4172, allocations: 2.947 MB / 0.5392 GB, free: 4.258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.4196, allocations: 3.083 MB / 0.5422 GB, free: 1.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01228/0.4318, allocations: 7.362 MB / 0.5494 GB, free: 10.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.4518, allocations: 15.47 MB / 0.5645 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4518, allocations: 4 kB / 0.5645 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4518, allocations: 0 / 0.5645 GB, free: 12.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004178/0.4522, allocations: 0 / 0.5645 GB, free: 12.19 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.05237/0.5046, allocations: 26.6 MB / 0.5905 GB, free: 1.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5046, allocations: 8.031 kB / 0.5905 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1394/0.644, allocations: 4.162 MB / 0.5946 GB, free: 195.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.6627, allocations: 9.95 MB / 0.6043 GB, free: 193.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009979/0.6637, allocations: 1.172 MB / 0.6055 GB, free: 192.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.6655, allocations: 1.293 MB / 0.6067 GB, free: 192.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.6785, allocations: 10.67 MB / 0.6171 GB, free: 187.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001935/0.6787, allocations: 19.44 kB / 0.6172 GB, free: 187.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006918/0.6794, allocations: 0.551 MB / 0.6177 GB, free: 187.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.6795, allocations: 340.7 kB / 0.618 GB, free: 187.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.69, allocations: 7.961 MB / 0.6258 GB, free: 183.8 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.05395/0.7439, allocations: 51.28 MB / 0.6759 GB, free: 132.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.7578, allocations: 16.5 MB / 0.692 GB, free: 117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005099/0.7629, allocations: 4.173 MB / 0.6961 GB, free: 112.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.7634, allocations: 263.3 kB / 0.6963 GB, free: 112.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004706/0.7681, allocations: 4.901 MB / 0.7011 GB, free: 107.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1464): time 2.031e-05/0.7681, allocations: 3.938 kB / 0.7011 GB, free: 107.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1464): time 0.01987/0.7879, allocations: 13.4 MB / 0.7142 GB, free: 94.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.7881, allocations: 0.7485 MB / 0.7149 GB, free: 93.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008589/0.7967, allocations: 8.262 MB / 0.723 GB, free: 84.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005557/0.7973, allocations: 265.7 kB / 0.7232 GB, free: 84.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/0.8002, allocations: 6.589 MB / 0.7297 GB, free: 78.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003594/0.8038, allocations: 5.296 MB / 0.7349 GB, free: 72.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.806, allocations: 2.745 MB / 0.7375 GB, free: 70.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.806, allocations: 476.8 kB / 0.738 GB, free: 69.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.8096, allocations: 2.541 MB / 0.7405 GB, free: 67.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/0.8144, allocations: 7.609 MB / 0.7479 GB, free: 57.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009916/0.8243, allocations: 11.29 MB / 0.7589 GB, free: 44.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-05/0.8244, allocations: 28 kB / 0.7589 GB, free: 44.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.02099/0.8454, allocations: 14.63 MB / 0.7732 GB, free: 29.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.8455, allocations: 162.8 kB / 0.7734 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.8456, allocations: 108.2 kB / 0.7735 GB, free: 29.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/0.8608, allocations: 6.484 MB / 0.7798 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/0.8685, allocations: 3.62 MB / 0.7834 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1657/1.034, allocations: 23.25 MB / 0.8061 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/1.047, allocations: 1.166 MB / 0.8072 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.048, allocations: 0.6009 MB / 0.8078 GB, free: 145.8 MB / 458.7 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 (1720): * Single equations (assignments): 1714 * 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 {(338,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003633/1.052, allocations: 1.141 MB / 0.8089 GB, free: 145.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004215/1.056, allocations: 1.9 MB / 0.8108 GB, free: 145.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.072, allocations: 11.42 MB / 0.8219 GB, free: 144.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/1.072, allocations: 77.64 kB / 0.822 GB, free: 144.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.072, allocations: 0.5625 kB / 0.822 GB, free: 144.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006487/1.079, allocations: 2.739 MB / 0.8247 GB, free: 144.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/1.081, allocations: 239.7 kB / 0.8249 GB, free: 144.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005471/1.086, allocations: 388.4 kB / 0.8253 GB, free: 144.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/1.088, allocations: 1.157 MB / 0.8264 GB, free: 144.5 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01916/1.107, allocations: 11.51 MB / 0.8376 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0525/1.16, allocations: 37.19 MB / 0.8739 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004136/1.164, allocations: 2.8 MB / 0.8767 GB, free: 124 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004998/1.169, allocations: 4.558 MB / 0.8811 GB, free: 120.4 MB / 458.7 MB Notification: Performance of Backend: time 2.61e-07/1.169, allocations: 0 / 0.8811 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02006/1.189, allocations: 13.94 MB / 0.8948 GB, free: 107.2 MB / 458.7 MB Notification: Performance of SimCode: time 0.03911/1.228, allocations: 42.35 MB / 0.9361 GB, free: 64.61 MB / 458.7 MB Notification: Performance of Templates: time 0.4585/1.686, allocations: 228.3 MB / 1.159 GB, free: 137.4 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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: 9.278526881011203]