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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) 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_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,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=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008311/0.0008312, allocations: 100.4 kB / 17.97 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 187.3 kB / 18.87 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05946/0.05946, allocations: 14.17 MB / 287.5 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.879/3.879, allocations: 464.3 MB / 0.7848 GB, free: 107.7 MB / 0.6545 GB 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.0006848/0.0006849, allocations: 16.66 kB / 0.9701 GB, free: 15.61 MB / 0.7483 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375/1.376, allocations: 176.2 MB / 1.142 GB, free: 24.84 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2237/1.6, allocations: 239.7 MB / 1.376 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1823/1.782, allocations: 81.69 MB / 1.456 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07204/1.854, allocations: 0.7046 MB / 1.457 GB, free: 14.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0518/1.906, allocations: 11.01 MB / 1.468 GB, free: 3.195 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.1474/2.053, allocations: 31.45 MB / 1.498 GB, free: 3.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.02416/2.077, allocations: 3.633 MB / 1.502 GB, free: 20 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.1363/2.214, allocations: 77.92 MB / 1.578 GB, free: 1.793 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02114/2.235, allocations: 4.952 MB / 1.583 GB, free: 12.75 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651/3.886, allocations: 19.47 MB / 1.602 GB, free: 37.93 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05564/3.942, allocations: 22.38 MB / 1.624 GB, free: 37.93 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.01616/3.958, allocations: 1.065 MB / 1.625 GB, free: 37.93 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04531/4.004, allocations: 3.646 MB / 1.628 GB, free: 37.93 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.01962/4.023, allocations: 4.707 MB / 1.633 GB, free: 36.61 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.08032/4.104, allocations: 20.16 MB / 1.652 GB, free: 30.8 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.08187/4.186, allocations: 36.86 MB / 1.688 GB, free: 27.62 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/4.186, allocations: 0 / 1.688 GB, free: 27.62 MB / 1.265 GB Notification: Performance of FrontEnd: time 4.198e-06/4.186, allocations: 0 / 1.688 GB, free: 27.62 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.002772/4.188, allocations: 1.031 kB / 1.688 GB, free: 27.62 MB / 1.265 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.2226/4.411, allocations: 49.59 MB / 1.737 GB, free: 8.23 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/4.411, allocations: 9.625 kB / 1.737 GB, free: 8.23 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03997/4.451, allocations: 6.162 MB / 1.743 GB, free: 5.547 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07885/4.53, allocations: 20.68 MB / 1.763 GB, free: 12.61 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004417/4.535, allocations: 2.319 MB / 1.765 GB, free: 12.55 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01307/4.548, allocations: 3.009 MB / 1.768 GB, free: 12.55 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.119/4.667, allocations: 32.14 MB / 1.8 GB, free: 3.5 MB / 1.28 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003184/4.67, allocations: 61 kB / 1.8 GB, free: 3.496 MB / 1.28 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01225/4.682, allocations: 1.287 MB / 1.801 GB, free: 3.496 MB / 1.28 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001238/4.684, allocations: 0.7769 MB / 1.802 GB, free: 3.496 MB / 1.28 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09744/4.781, allocations: 31.47 MB / 1.833 GB, free: 14.36 MB / 1.312 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.3703/5.151, allocations: 203.5 MB / 2.031 GB, free: 272 kB / 1.515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1191/5.271, allocations: 53.48 MB / 2.083 GB, free: 13.3 MB / 1.577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0337/5.304, allocations: 14.27 MB / 2.097 GB, free: 14.98 MB / 1.593 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003799/5.308, allocations: 397.4 kB / 2.098 GB, free: 14.61 MB / 1.593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/5.309, allocations: 376.5 kB / 2.098 GB, free: 14.24 MB / 1.593 GB Notification: Performance of pre-optimization done (n=3389): time 4.104e-05/5.309, allocations: 4 kB / 2.098 GB, free: 14.23 MB / 1.593 GB Notification: Performance of matching and sorting (n=3389): time 0.1349/5.444, allocations: 41.31 MB / 2.138 GB, free: 5.406 MB / 1.624 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003361/5.444, allocations: 397.4 kB / 2.139 GB, free: 5.008 MB / 1.624 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04842/5.493, allocations: 18.1 MB / 2.157 GB, free: 3.07 MB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.006896/5.499, allocations: 0.5446 MB / 2.157 GB, free: 2.52 MB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.8879/6.387, allocations: 14.58 MB / 2.171 GB, free: 0.6723 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.02694/6.414, allocations: 11.62 MB / 2.183 GB, free: 0.6649 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01524/6.43, allocations: 2.692 MB / 2.185 GB, free: 0.6648 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/6.43, allocations: 303.5 kB / 2.186 GB, free: 0.6645 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03038/6.46, allocations: 9.774 MB / 2.195 GB, free: 0.6631 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04079/6.501, allocations: 17.28 MB / 2.212 GB, free: 0.6511 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.121/6.622, allocations: 29.62 MB / 2.241 GB, free: 0.6318 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006977/6.623, allocations: 57.84 kB / 2.241 GB, free: 0.6318 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1419/6.765, allocations: 40.49 MB / 2.28 GB, free: 0.6156 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.000234/6.765, allocations: 93.62 kB / 2.281 GB, free: 0.6156 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004289/6.766, allocations: 202.8 kB / 2.281 GB, free: 0.6156 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06352/6.829, allocations: 13.66 MB / 2.294 GB, free: 0.6142 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03603/6.865, allocations: 8.222 MB / 2.302 GB, free: 0.6134 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1938/7.059, allocations: 73.62 MB / 2.374 GB, free: 0.5582 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04444/7.103, allocations: 2.684 MB / 2.377 GB, free: 0.5556 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007876/7.111, allocations: 1.312 MB / 2.378 GB, free: 0.5543 GB / 1.64 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 (3816): * Single equations (assignments): 3814 * 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 {(900,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.02854/7.14, allocations: 5.173 MB / 2.383 GB, free: 0.5492 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02057/7.161, allocations: 3.1 MB / 2.386 GB, free: 0.5462 GB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1135/7.274, allocations: 34.71 MB / 2.42 GB, free: 0.5167 GB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002477/7.274, allocations: 320 kB / 2.42 GB, free: 0.5163 GB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.501e-05/7.275, allocations: 0 / 2.42 GB, free: 0.5163 GB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/7.276, allocations: 158.6 kB / 2.42 GB, free: 0.5163 GB / 1.64 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.2178/7.494, allocations: 70.23 MB / 2.489 GB, free: 462.8 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002178/7.494, allocations: 4 kB / 2.489 GB, free: 462.8 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02935/7.523, allocations: 5.927 MB / 2.495 GB, free: 456.9 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02591/7.549, allocations: 5.118 MB / 2.5 GB, free: 451.8 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007323/7.557, allocations: 0.5351 MB / 2.5 GB, free: 451.2 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/7.746, allocations: 71.54 MB / 2.57 GB, free: 379.3 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/7.746, allocations: 11.94 kB / 2.57 GB, free: 379.3 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1511/7.897, allocations: 52.02 MB / 2.621 GB, free: 327 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03256/7.929, allocations: 5.253 MB / 2.626 GB, free: 321.7 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02099/7.95, allocations: 0.5312 MB / 2.627 GB, free: 321.1 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04282/7.993, allocations: 1.145 MB / 2.628 GB, free: 320 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01263/8.006, allocations: 2.099 MB / 2.63 GB, free: 317.9 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006918/8.013, allocations: 0.7383 MB / 2.63 GB, free: 317.1 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.03432/8.047, allocations: 11.5 MB / 2.642 GB, free: 305.8 MB / 1.64 GB Notification: Performance of sort global known variables: time 9.22e-07/8.047, allocations: 0 / 2.642 GB, free: 305.8 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.0733/8.121, allocations: 11.53 MB / 2.653 GB, free: 294.2 MB / 1.64 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 (2497): * Single equations (assignments): 2495 * 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), (880,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/8.131, allocations: 3.734 MB / 2.657 GB, free: 290.1 MB / 1.64 GB Notification: Performance of simCode: created initialization part: time 0.1009/8.232, allocations: 41.24 MB / 2.697 GB, free: 248.9 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/8.232, allocations: 4.062 kB / 2.697 GB, free: 248.9 MB / 1.64 GB Notification: Performance of simCode: created simulation system equations: time 0.06474/8.297, allocations: 26.89 MB / 2.723 GB, free: 221.9 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07227/8.369, allocations: 2.881 MB / 2.726 GB, free: 219.1 MB / 1.64 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1767/8.546, allocations: 87.08 MB / 2.811 GB, free: 132.1 MB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8274/9.373, allocations: 13.75 MB / 2.824 GB, free: 0.5875 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0143/9.388, allocations: 1.942 MB / 2.826 GB, free: 0.5875 GB / 1.64 GB Notification: Performance of SimCode: time 2.445e-06/9.388, allocations: 0 / 2.826 GB, free: 0.5875 GB / 1.64 GB Notification: Performance of Templates: time 2.114/11.5, allocations: 0.6656 GB / 3.492 GB, free: 0.5581 GB / 1.64 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.makefile (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)