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) 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_1_M_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,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=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 111.2 kB / 17.94 MB, free: 5.434 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.001404/0.001405, allocations: 194 kB / 18.87 MB, free: 4.512 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.344/1.344, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06059/0.06059, allocations: 14.17 MB / 286.2 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.126/3.126, allocations: 461.2 MB / 0.7796 GB, free: 107.3 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.001714/0.001714, allocations: 87.88 kB / 0.9609 GB, free: 3.84 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 172.1 MB / 1.129 GB, free: 27.97 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03307/1.148, allocations: 46 MB / 1.174 GB, free: 10.17 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03226/1.18, allocations: 16.26 MB / 1.19 GB, free: 12.83 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01248/1.193, allocations: 136.5 kB / 1.19 GB, free: 12.8 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.009903/1.203, allocations: 2.075 MB / 1.192 GB, free: 11.24 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.02625/1.229, allocations: 6.311 MB / 1.198 GB, free: 5.977 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.004967/1.234, allocations: 0.9333 MB / 1.199 GB, free: 5.273 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.02557/1.259, allocations: 14.82 MB / 1.214 GB, free: 12.7 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/1.263, allocations: 1.012 MB / 1.215 GB, free: 12.21 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/1.274, allocations: 4.103 MB / 1.219 GB, free: 9.762 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/1.285, allocations: 4.431 MB / 1.223 GB, free: 6.883 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/1.287, allocations: 373.7 kB / 1.223 GB, free: 6.883 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007738/1.295, allocations: 1.234 MB / 1.224 GB, free: 6.684 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/1.297, allocations: 1.037 MB / 1.225 GB, free: 5.797 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.0121/1.309, allocations: 4.024 MB / 1.229 GB, free: 3.098 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01729/1.326, allocations: 7.253 MB / 1.236 GB, free: 13.93 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.326, allocations: 0 / 1.236 GB, free: 13.93 MB / 0.936 GB Notification: Performance of FrontEnd: time 1.964e-06/1.326, allocations: 0 / 1.236 GB, free: 13.93 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0004765/1.327, allocations: 1.406 kB / 1.236 GB, free: 13.93 MB / 0.936 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.04721/1.374, allocations: 10.56 MB / 1.247 GB, free: 7.383 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.374, allocations: 9.75 kB / 1.247 GB, free: 7.383 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007436/1.382, allocations: 1.124 MB / 1.248 GB, free: 6.824 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/1.394, allocations: 3.866 MB / 1.252 GB, free: 3.914 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/1.394, allocations: 428.4 kB / 1.252 GB, free: 3.723 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/1.396, allocations: 0.542 MB / 1.253 GB, free: 3.543 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.409, allocations: 5.827 MB / 1.258 GB, free: 15.86 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/1.409, allocations: 12.06 kB / 1.258 GB, free: 15.86 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/1.41, allocations: 237 kB / 1.258 GB, free: 15.68 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/1.41, allocations: 143.7 kB / 1.259 GB, free: 15.68 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/1.421, allocations: 5.719 MB / 1.264 GB, free: 12.91 MB / 0.9517 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.04998/1.471, allocations: 36.41 MB / 1.3 GB, free: 5.953 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.484, allocations: 7.566 MB / 1.307 GB, free: 14.3 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004257/1.488, allocations: 2.418 MB / 1.31 GB, free: 11.87 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/1.489, allocations: 72.67 kB / 1.31 GB, free: 11.8 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.354e-05/1.489, allocations: 91.25 kB / 1.31 GB, free: 11.7 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 8.897e-06/1.489, allocations: 0 / 1.31 GB, free: 11.7 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.05539/1.544, allocations: 16.01 MB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.544, allocations: 116.1 kB / 1.325 GB, free: 11.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/1.551, allocations: 3.46 MB / 1.329 GB, free: 7.949 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008325/1.552, allocations: 113.7 kB / 1.329 GB, free: 7.832 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/1.554, allocations: 2.599 MB / 1.331 GB, free: 5.203 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002746/1.557, allocations: 2.044 MB / 1.333 GB, free: 3.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/1.559, allocations: 1.068 MB / 1.334 GB, free: 2.051 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.559, allocations: 305.1 kB / 1.335 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/1.562, allocations: 1.77 MB / 1.337 GB, free: 15.98 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.566, allocations: 3.155 MB / 1.34 GB, free: 12.29 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007675/1.573, allocations: 5.338 MB / 1.345 GB, free: 6.371 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-05/1.574, allocations: 12 kB / 1.345 GB, free: 6.359 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.0146/1.588, allocations: 7.229 MB / 1.352 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/1.588, allocations: 20 kB / 1.352 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.16e-05/1.588, allocations: 36 kB / 1.352 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/1.599, allocations: 2.285 MB / 1.354 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006456/1.605, allocations: 1.498 MB / 1.356 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/1.632, allocations: 15.13 MB / 1.37 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/1.639, allocations: 0.5033 MB / 1.371 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.641, allocations: 240 kB / 1.371 GB, free: 11.04 MB / 1.061 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.003302/1.644, allocations: 1.039 MB / 1.372 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.646, allocations: 0.5636 MB / 1.373 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.657, allocations: 6.025 MB / 1.379 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/1.657, allocations: 56 kB / 1.379 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.657, allocations: 3.938 kB / 1.379 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/1.657, allocations: 31.89 kB / 1.379 GB, free: 3.207 MB / 1.061 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.02372/1.681, allocations: 12.46 MB / 1.391 GB, free: 6.348 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.681, allocations: 4 kB / 1.391 GB, free: 6.344 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004558/1.686, allocations: 1.046 MB / 1.392 GB, free: 5.297 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/1.689, allocations: 0.8831 MB / 1.393 GB, free: 4.41 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006015/1.69, allocations: 107.9 kB / 1.393 GB, free: 4.305 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/1.715, allocations: 14.83 MB / 1.407 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.715, allocations: 4 kB / 1.407 GB, free: 5.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.732, allocations: 9.843 MB / 1.417 GB, free: 11.02 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00347/1.736, allocations: 1.013 MB / 1.418 GB, free: 9.984 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.737, allocations: 104 kB / 1.418 GB, free: 9.883 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/1.74, allocations: 210.7 kB / 1.418 GB, free: 9.676 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009592/1.741, allocations: 389.2 kB / 1.419 GB, free: 9.293 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.741, allocations: 136 kB / 1.419 GB, free: 9.16 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.003455/1.745, allocations: 2.196 MB / 1.421 GB, free: 6.969 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.4e-07/1.745, allocations: 0 / 1.421 GB, free: 6.969 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.007947/1.753, allocations: 2.065 MB / 1.423 GB, free: 4.902 MB / 1.108 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.001069/1.754, allocations: 0.5121 MB / 1.423 GB, free: 4.375 MB / 1.108 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.03457/1.789, allocations: 7.689 MB / 1.431 GB, free: 12.59 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/1.789, allocations: 0 / 1.431 GB, free: 12.59 MB / 1.124 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.01043/1.799, allocations: 4.879 MB / 1.436 GB, free: 7.66 MB / 1.124 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00653/1.806, allocations: 0.5497 MB / 1.436 GB, free: 7.109 MB / 1.124 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.02657/1.832, allocations: 15.47 MB / 1.451 GB, free: 7.57 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/1.836, allocations: 3.01 MB / 1.454 GB, free: 4.531 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.838, allocations: 371.4 kB / 1.455 GB, free: 4.168 MB / 1.139 GB Notification: Performance of SimCode: time 2.064e-06/1.838, allocations: 0 / 1.455 GB, free: 4.168 MB / 1.139 GB Notification: Performance of Templates: time 0.1751/2.013, allocations: 125 MB / 1.577 GB, free: 6.98 MB / 1.264 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.makefile (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)