Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005462/0.005462, allocations: 102.2 kB / 21.82 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.1 kB / 25.08 MB, free: 3.125 MB / 14.72 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 1.484/1.484, allocations: 207.6 MB / 235.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.07293/0.07293, allocations: 14.38 MB / 302.4 MB, free: 7.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.787/3.787, allocations: 468.9 MB / 0.8079 GB, free: 59.03 MB / 0.6233 GB " [Timeout remaining time 176] Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestGrids.Models.Type0.Type0_N_1_M_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1") translateModel(ScalableTestGrids.Models.Type0.Type0_N_1_M_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1") [Timeout 600] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 88.97 kB / 1.183 GB, free: 11.59 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4074, allocations: 182.6 MB / 1.361 GB, free: 13.41 MB / 1.03 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.04512/0.4525, allocations: 45.17 MB / 1.405 GB, free: 52 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03193/0.4844, allocations: 16.16 MB / 1.421 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4945, allocations: 155.2 kB / 1.421 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009043/0.5035, allocations: 2.396 MB / 1.423 GB, free: 13.27 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.02762/0.5311, allocations: 7.329 MB / 1.43 GB, free: 5.914 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.536, allocations: 1.025 MB / 1.431 GB, free: 4.887 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02635/0.5623, allocations: 14.06 MB / 1.445 GB, free: 6.777 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.5652, allocations: 0.5793 MB / 1.446 GB, free: 6.156 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.5766, allocations: 4.795 MB / 1.45 GB, free: 1.344 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.5881, allocations: 5.059 MB / 1.455 GB, free: 12.26 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.002823/0.5909, allocations: 500 kB / 1.456 GB, free: 11.77 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007511/0.5984, allocations: 1.336 MB / 1.457 GB, free: 10.44 MB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.002621/0.601, allocations: 1.24 MB / 1.458 GB, free: 9.195 MB / 1.124 GB Notification: Performance of NFVerifyModel.verify: time 0.01072/0.6117, allocations: 4.237 MB / 1.463 GB, free: 4.938 MB / 1.124 GB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.6333, allocations: 10.23 MB / 1.473 GB, free: 10.67 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.6333, allocations: 0 / 1.473 GB, free: 10.67 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6333, allocations: 3.938 kB / 1.473 GB, free: 10.66 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003684/0.6337, allocations: 0 / 1.473 GB, free: 10.66 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1484 * Number of variables: 1484 Notification: Performance of Generate backend data structure: time 0.04623/0.6799, allocations: 11.13 MB / 1.483 GB, free: 15.46 MB / 1.155 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6799, allocations: 8.031 kB / 1.483 GB, free: 15.45 MB / 1.155 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005857/0.6858, allocations: 1.16 MB / 1.485 GB, free: 14.29 MB / 1.155 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.6978, allocations: 4.056 MB / 1.488 GB, free: 10.16 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/0.6983, allocations: 432 kB / 1.489 GB, free: 9.742 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.7002, allocations: 0.5433 MB / 1.489 GB, free: 9.199 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.7153, allocations: 5.819 MB / 1.495 GB, free: 3.16 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.7154, allocations: 11.88 kB / 1.495 GB, free: 3.148 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000526/0.7159, allocations: 240 kB / 1.495 GB, free: 2.914 MB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.7161, allocations: 140 kB / 1.495 GB, free: 2.777 MB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.7309, allocations: 5.715 MB / 1.501 GB, free: 13.05 MB / 1.17 GB 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.072/0.8029, allocations: 38.73 MB / 1.539 GB, free: 2.434 MB / 1.202 GB Notification: Performance of preOpt comSubExp (simulation): time 1.436/2.239, allocations: 6.105 MB / 1.545 GB, free: 160.7 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004193/2.243, allocations: 2.105 MB / 1.547 GB, free: 160.5 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/2.243, allocations: 73.08 kB / 1.547 GB, free: 160.5 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/2.243, allocations: 95.55 kB / 1.547 GB, free: 160.4 MB / 1.202 GB Notification: Performance of pre-optimization done (n=597): time 9.608e-06/2.243, allocations: 0 / 1.547 GB, free: 160.4 MB / 1.202 GB Notification: Performance of matching and sorting (n=597): time 0.06066/2.304, allocations: 15.8 MB / 1.562 GB, free: 157 MB / 1.202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/2.304, allocations: 113.3 kB / 1.563 GB, free: 157 MB / 1.202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/2.311, allocations: 3.89 MB / 1.566 GB, free: 155.5 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.000683/2.311, allocations: 116.3 kB / 1.567 GB, free: 155.4 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/2.313, allocations: 2.675 MB / 1.569 GB, free: 154 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.002214/2.315, allocations: 2.152 MB / 1.571 GB, free: 152.6 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/2.317, allocations: 1.069 MB / 1.572 GB, free: 152.1 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/2.317, allocations: 306.5 kB / 1.573 GB, free: 151.8 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/2.32, allocations: 1.771 MB / 1.574 GB, free: 151.1 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/2.323, allocations: 3.155 MB / 1.577 GB, free: 148.5 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007437/2.331, allocations: 5.34 MB / 1.583 GB, free: 144.7 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/2.331, allocations: 11.19 kB / 1.583 GB, free: 144.7 MB / 1.202 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01408/2.345, allocations: 7.183 MB / 1.59 GB, free: 141 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/2.345, allocations: 25.03 kB / 1.59 GB, free: 141 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.021e-05/2.345, allocations: 37.88 kB / 1.59 GB, free: 141 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/2.356, allocations: 2.25 MB / 1.592 GB, free: 140.2 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006478/2.362, allocations: 1.491 MB / 1.593 GB, free: 139.8 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/2.389, allocations: 14.93 MB / 1.608 GB, free: 130 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/2.4, allocations: 486.1 kB / 1.608 GB, free: 129.8 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/2.401, allocations: 243 kB / 1.609 GB, free: 129.7 MB / 1.202 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 708 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(136,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002867/2.404, allocations: 1.037 MB / 1.61 GB, free: 129 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/2.406, allocations: 0.5903 MB / 1.61 GB, free: 128.7 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009395/2.415, allocations: 5.957 MB / 1.616 GB, free: 125.2 MB / 1.202 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/2.415, allocations: 59.48 kB / 1.616 GB, free: 125.2 MB / 1.202 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/2.415, allocations: 0 / 1.616 GB, free: 125.2 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-05/2.415, allocations: 27.89 kB / 1.616 GB, free: 125.2 MB / 1.202 GB 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.02121/2.436, allocations: 13.22 MB / 1.629 GB, free: 116.3 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/2.436, allocations: 4.156 kB / 1.629 GB, free: 116.3 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/2.441, allocations: 1.049 MB / 1.63 GB, free: 116 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/2.444, allocations: 0.8619 MB / 1.631 GB, free: 115.6 MB / 1.202 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/2.445, allocations: 98.41 kB / 1.631 GB, free: 115.5 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/2.467, allocations: 14.63 MB / 1.645 GB, free: 103.7 MB / 1.202 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.467, allocations: 8 kB / 1.645 GB, free: 103.7 MB / 1.202 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/2.485, allocations: 9.818 MB / 1.655 GB, free: 93.59 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/2.49, allocations: 1.133 MB / 1.656 GB, free: 92.48 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/2.491, allocations: 104 kB / 1.656 GB, free: 92.38 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004326/2.495, allocations: 135.9 kB / 1.656 GB, free: 92.25 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009893/2.496, allocations: 416.9 kB / 1.657 GB, free: 91.84 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/2.497, allocations: 141.5 kB / 1.657 GB, free: 91.7 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.003355/2.5, allocations: 2.505 MB / 1.659 GB, free: 89.2 MB / 1.202 GB Notification: Performance of sort global known variables: time 9e-08/2.5, allocations: 0 / 1.659 GB, free: 89.2 MB / 1.202 GB Notification: Performance of remove unused functions: time 0.007335/2.507, allocations: 2.254 MB / 1.661 GB, free: 86.99 MB / 1.202 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 449 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,0), (134,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008829/2.508, allocations: 0.5054 MB / 1.662 GB, free: 86.51 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.01261/2.521, allocations: 7.197 MB / 1.669 GB, free: 79.22 MB / 1.202 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/2.521, allocations: 0 / 1.669 GB, free: 79.22 MB / 1.202 GB Notification: Performance of simCode: created simulation system equations: time 0.008681/2.529, allocations: 4.653 MB / 1.673 GB, free: 74.52 MB / 1.202 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/2.535, allocations: 0.7242 MB / 1.674 GB, free: 73.79 MB / 1.202 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/2.554, allocations: 12.83 MB / 1.687 GB, free: 60.88 MB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/2.556, allocations: 3.008 MB / 1.69 GB, free: 57.84 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/2.559, allocations: 423.4 kB / 1.69 GB, free: 57.43 MB / 1.202 GB Notification: Performance of SimCode: time 1.774e-06/2.559, allocations: 0 / 1.69 GB, free: 57.43 MB / 1.202 GB Notification: Performance of Templates: time 0.1717/2.73, allocations: 132.1 MB / 1.819 GB, free: 5.023 MB / 1.28 GB " [Timeout remaining time 597] make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.makefile [Timeout 600] (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.821011277999787] Failed to read output from testmodel.py, exit status != 0: 2.7415852479989553 2.75708297 2.12018815 Calling exit ...