Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.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.001569/0.001569, allocations: 78.77 kB / 21.42 MB, free: 332 kB / 14.72 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.001749/0.001749, allocations: 169.5 kB / 24.7 MB, free: 3.602 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.654/1.654, allocations: 158.6 MB / 186.5 MB, free: 6.43 MB / 174.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.0663/0.0663, allocations: 10.64 MB / 249.4 MB, free: 10.46 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.0/package.mo): time 4.138/4.138, allocations: 339.2 MB / 0.6295 GB, free: 9.277 MB / 0.5607 GB " [Timeout remaining time 175] Using package ScalableTestGrids with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.2.0/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.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(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") translateModel(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") [Timeout 600] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003438/0.003438, allocations: 87.88 kB / 1.005 GB, free: 1.832 MB / 0.9202 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723/1.727, allocations: 182.5 MB / 1.183 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2287/1.956, allocations: 208.2 MB / 1.386 GB, free: 4.949 MB / 1.202 GB Notification: Performance of NFInst.instExpressions: time 0.1931/2.149, allocations: 77.42 MB / 1.462 GB, free: 7.246 MB / 1.28 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06809/2.217, allocations: 0.8122 MB / 1.463 GB, free: 6.43 MB / 1.28 GB Notification: Performance of NFTyping.typeComponents: time 0.05674/2.273, allocations: 12.16 MB / 1.474 GB, free: 10.19 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.1772/2.451, allocations: 37 MB / 1.511 GB, free: 5.023 MB / 1.327 GB Notification: Performance of NFTyping.typeClassSections: time 0.03126/2.482, allocations: 3.94 MB / 1.514 GB, free: 1.078 MB / 1.327 GB Notification: Performance of NFFlatten.flatten: time 0.1686/2.651, allocations: 81.45 MB / 1.594 GB, free: 15.32 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02232/2.673, allocations: 2.808 MB / 1.597 GB, free: 12.43 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439/5.112, allocations: 38.91 MB / 1.635 GB, free: 50.24 MB / 1.421 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07325/5.185, allocations: 25.3 MB / 1.659 GB, free: 45.9 MB / 1.421 GB Notification: Performance of NFPackage.collectConstants: time 0.02128/5.207, allocations: 2.691 MB / 1.662 GB, free: 45.9 MB / 1.421 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0504/5.257, allocations: 6.315 MB / 1.668 GB, free: 45.9 MB / 1.421 GB Notification: Performance of NFScalarize.scalarize: time 0.02085/5.278, allocations: 6.811 MB / 1.675 GB, free: 44.46 MB / 1.421 GB Notification: Performance of NFVerifyModel.verify: time 0.07255/5.351, allocations: 19.28 MB / 1.694 GB, free: 40.12 MB / 1.421 GB Notification: Performance of NFConvertDAE.convert: time 0.1411/5.492, allocations: 57.07 MB / 1.749 GB, free: 32.03 MB / 1.421 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/5.492, allocations: 0 / 1.749 GB, free: 32.03 MB / 1.421 GB Notification: Performance of FrontEnd: time 2.625e-06/5.492, allocations: 3.469 kB / 1.749 GB, free: 32.03 MB / 1.421 GB Notification: Performance of Transformations before backend: time 0.003101/5.495, allocations: 0 / 1.749 GB, free: 32.03 MB / 1.421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8204 * Number of variables: 8204 Notification: Performance of Generate backend data structure: time 0.2988/5.793, allocations: 60.18 MB / 1.808 GB, free: 10.24 MB / 1.421 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/5.794, allocations: 9.469 kB / 1.808 GB, free: 10.24 MB / 1.421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05474/5.848, allocations: 6.345 MB / 1.814 GB, free: 7.387 MB / 1.421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1119/5.96, allocations: 22.03 MB / 1.836 GB, free: 12.11 MB / 1.437 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005121/5.965, allocations: 2.317 MB / 1.838 GB, free: 9.895 MB / 1.437 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01599/5.981, allocations: 3.008 MB / 1.841 GB, free: 6.887 MB / 1.437 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1366/6.118, allocations: 32.15 MB / 1.872 GB, free: 5.613 MB / 1.468 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002281/6.12, allocations: 58.69 kB / 1.873 GB, free: 5.59 MB / 1.468 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01436/6.135, allocations: 1.286 MB / 1.874 GB, free: 4.305 MB / 1.468 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/6.136, allocations: 0.7734 MB / 1.875 GB, free: 3.531 MB / 1.468 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1066/6.242, allocations: 31 MB / 1.905 GB, free: 4.828 MB / 1.499 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.4377/6.68, allocations: 122.4 MB / 2.024 GB, free: 10.46 MB / 1.624 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1246/6.805, allocations: 45.5 MB / 2.069 GB, free: 0.6914 MB / 1.655 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04489/6.849, allocations: 12.37 MB / 2.081 GB, free: 4.277 MB / 1.671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005771/6.855, allocations: 382.5 kB / 2.081 GB, free: 3.902 MB / 1.671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/6.856, allocations: 380.5 kB / 2.082 GB, free: 3.523 MB / 1.671 GB Notification: Performance of pre-optimization done (n=3389): time 0.0002172/6.856, allocations: 0 / 2.082 GB, free: 3.523 MB / 1.671 GB Notification: Performance of matching and sorting (n=3389): time 0.1831/7.04, allocations: 40.95 MB / 2.122 GB, free: 11.1 MB / 1.718 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001216/7.041, allocations: 397.9 kB / 2.122 GB, free: 10.7 MB / 1.718 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0793/7.12, allocations: 20.45 MB / 2.142 GB, free: 6.398 MB / 1.733 GB Notification: Performance of collectPreVariables (initialization): time 0.007367/7.127, allocations: 0.5446 MB / 2.142 GB, free: 5.848 MB / 1.733 GB Notification: Performance of collectInitialEqns (initialization): time 0.02419/7.152, allocations: 14.72 MB / 2.157 GB, free: 7.184 MB / 1.749 GB Notification: Performance of collectInitialBindings (initialization): time 0.02957/7.181, allocations: 12.21 MB / 2.169 GB, free: 11.12 MB / 1.765 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04485/7.226, allocations: 5.821 MB / 2.174 GB, free: 5.285 MB / 1.765 GB Notification: Performance of setup shared object (initialization): time 0.0002906/7.226, allocations: 309.1 kB / 2.175 GB, free: 4.98 MB / 1.765 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03607/7.262, allocations: 9.783 MB / 2.184 GB, free: 11.19 MB / 1.78 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05198/7.314, allocations: 17.27 MB / 2.201 GB, free: 7.207 MB / 1.796 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1273/7.442, allocations: 29.61 MB / 2.23 GB, free: 7.551 MB / 1.827 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005186/7.442, allocations: 60 kB / 2.23 GB, free: 7.492 MB / 1.827 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1725/7.615, allocations: 40.13 MB / 2.269 GB, free: 1.016 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008282/7.616, allocations: 102 kB / 2.269 GB, free: 0.918 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001081/7.617, allocations: 204 kB / 2.27 GB, free: 0.7188 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07502/7.692, allocations: 13.77 MB / 2.283 GB, free: 2.934 MB / 1.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.25/8.942, allocations: 8.162 MB / 2.291 GB, free: 0.6941 GB / 1.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2721/9.214, allocations: 78.7 MB / 2.368 GB, free: 0.6831 GB / 1.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05536/9.27, allocations: 2.513 MB / 2.37 GB, free: 0.6824 GB / 1.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009932/9.279, allocations: 1.308 MB / 2.372 GB, free: 0.6821 GB / 1.874 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 926 * 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 (3800): * Single equations (assignments): 3798 * 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 {(914,0), (16,0)} Notification: Performance of prepare postOptimizeDAE: time 0.03467/9.314, allocations: 5.169 MB / 2.377 GB, free: 0.6788 GB / 1.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02562/9.34, allocations: 3.21 MB / 2.38 GB, free: 0.6772 GB / 1.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1288/9.469, allocations: 34.25 MB / 2.413 GB, free: 0.6626 GB / 1.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004805/9.469, allocations: 325.5 kB / 2.414 GB, free: 0.6626 GB / 1.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002414/9.469, allocations: 0 / 2.414 GB, free: 0.6626 GB / 1.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/9.471, allocations: 156.6 kB / 2.414 GB, free: 0.6626 GB / 1.874 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.2483/9.719, allocations: 60.6 MB / 2.473 GB, free: 0.6244 GB / 1.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004816/9.719, allocations: 8 kB / 2.473 GB, free: 0.6244 GB / 1.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02882/9.748, allocations: 5.87 MB / 2.479 GB, free: 0.6195 GB / 1.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02605/9.774, allocations: 5.111 MB / 2.484 GB, free: 0.6162 GB / 1.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007918/9.782, allocations: 0.5456 MB / 2.484 GB, free: 0.6157 GB / 1.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2454/10.03, allocations: 76.4 MB / 2.559 GB, free: 0.5487 GB / 1.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/10.03, allocations: 11.94 kB / 2.559 GB, free: 0.5487 GB / 1.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1649/10.19, allocations: 51.94 MB / 2.609 GB, free: 0.4996 GB / 1.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03545/10.23, allocations: 6.168 MB / 2.616 GB, free: 0.4937 GB / 1.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01983/10.25, allocations: 0.5273 MB / 2.616 GB, free: 0.4932 GB / 1.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04197/10.29, allocations: 0.7608 MB / 2.617 GB, free: 0.4924 GB / 1.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01134/10.3, allocations: 2.25 MB / 2.619 GB, free: 0.4902 GB / 1.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006421/10.31, allocations: 0.7422 MB / 2.62 GB, free: 0.4895 GB / 1.874 GB Notification: Performance of sorting global known variables: time 0.0405/10.35, allocations: 12.87 MB / 2.632 GB, free: 488.5 MB / 1.874 GB Notification: Performance of sort global known variables: time 4.51e-07/10.35, allocations: 0 / 2.632 GB, free: 488.5 MB / 1.874 GB Notification: Performance of remove unused functions: time 0.0756/10.42, allocations: 12.64 MB / 2.645 GB, free: 476.1 MB / 1.874 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (2481): * Single equations (assignments): 2479 * 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 {(16,0), (894,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01012/10.43, allocations: 2.278 MB / 2.647 GB, free: 473.9 MB / 1.874 GB Notification: Performance of simCode: created initialization part: time 0.1122/10.55, allocations: 41.23 MB / 2.687 GB, free: 432.6 MB / 1.874 GB Notification: Performance of simCode: created event and clocks part: time 2.282e-05/10.55, allocations: 0 / 2.687 GB, free: 432.6 MB / 1.874 GB Notification: Performance of simCode: created simulation system equations: time 0.06667/10.61, allocations: 27.19 MB / 2.714 GB, free: 405.4 MB / 1.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0723/10.69, allocations: 3.874 MB / 2.717 GB, free: 401.5 MB / 1.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/10.89, allocations: 72.31 MB / 2.788 GB, free: 329 MB / 1.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05372/10.95, allocations: 13.85 MB / 2.802 GB, free: 315.1 MB / 1.874 GB Notification: Performance of simCode: alias equations: time 0.03902/10.99, allocations: 3.832 MB / 2.805 GB, free: 311.3 MB / 1.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01935/11.01, allocations: 1.922 MB / 2.807 GB, free: 309.4 MB / 1.874 GB Notification: Performance of SimCode: time 3.206e-06/11.01, allocations: 0 / 2.807 GB, free: 309.4 MB / 1.874 GB Notification: Performance of Templates: time 2.062/13.07, allocations: 449.6 MB / 3.246 GB, free: 0.5925 GB / 1.874 GB " [Timeout remaining time 587] make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.makefile [Timeout 600] (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 33.324398189783096] Failed to read output from testmodel.py, exit status != 0: 13.082020752131939 13.095828237 7.600538416 Calling exit ...