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.0009988/0.0009989, allocations: 107.9 kB / 18.36 MB, free: 4.699 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.0009913/0.0009913, allocations: 186.9 kB / 19.28 MB, free: 3.777 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.237/1.237, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05974/0.05974, allocations: 14.17 MB / 286.7 MB, free: 13.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.009/3.009, allocations: 461.2 MB / 0.78 GB, free: 107.3 MB / 0.6546 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.001675/0.001675, allocations: 83.89 kB / 0.9623 GB, free: 2.777 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 172.1 MB / 1.13 GB, free: 28.5 MB / 0.8736 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.02913/1.16, allocations: 45.47 MB / 1.175 GB, free: 11.02 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.02815/1.188, allocations: 16.18 MB / 1.191 GB, free: 13.38 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009226/1.198, allocations: 125.8 kB / 1.191 GB, free: 13.36 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.008568/1.206, allocations: 2.394 MB / 1.193 GB, free: 11.48 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.02257/1.229, allocations: 6.916 MB / 1.2 GB, free: 5.625 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/1.233, allocations: 1.013 MB / 1.201 GB, free: 4.852 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.02052/1.254, allocations: 14.07 MB / 1.215 GB, free: 12.22 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/1.257, allocations: 1.024 MB / 1.216 GB, free: 11.71 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009352/1.266, allocations: 4.612 MB / 1.22 GB, free: 8.945 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/1.276, allocations: 5.053 MB / 1.225 GB, free: 5.594 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.002519/1.279, allocations: 0.4929 MB / 1.225 GB, free: 5.59 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007268/1.286, allocations: 1.342 MB / 1.227 GB, free: 5.406 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.002389/1.289, allocations: 1.245 MB / 1.228 GB, free: 4.316 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.01039/1.299, allocations: 4.234 MB / 1.232 GB, free: 1.41 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/1.317, allocations: 9.709 MB / 1.242 GB, free: 10.71 MB / 0.9361 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.317, allocations: 0 / 1.242 GB, free: 10.71 MB / 0.9361 GB Notification: Performance of FrontEnd: time 1.433e-06/1.317, allocations: 0 / 1.242 GB, free: 10.71 MB / 0.9361 GB Notification: Performance of Transformations before backend: time 0.0003227/1.317, allocations: 1.438 kB / 1.242 GB, free: 10.71 MB / 0.9361 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.04494/1.362, allocations: 11.1 MB / 1.252 GB, free: 3.922 MB / 0.9361 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.362, allocations: 9.781 kB / 1.252 GB, free: 3.922 MB / 0.9361 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00644/1.369, allocations: 1.118 MB / 1.254 GB, free: 3.371 MB / 0.9361 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/1.38, allocations: 4.169 MB / 1.258 GB, free: 264 kB / 0.9361 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/1.381, allocations: 428.8 kB / 1.258 GB, free: 68 kB / 0.9361 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.382, allocations: 0.5468 MB / 1.259 GB, free: 15.88 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/1.398, allocations: 5.819 MB / 1.264 GB, free: 12.21 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/1.398, allocations: 12.38 kB / 1.264 GB, free: 12.2 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000836/1.399, allocations: 236.9 kB / 1.264 GB, free: 12.02 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/1.399, allocations: 143.8 kB / 1.265 GB, free: 12.02 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/1.41, allocations: 5.72 MB / 1.27 GB, free: 9.191 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.0523/1.462, allocations: 39 MB / 1.308 GB, free: 14.32 MB / 0.9986 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/1.474, allocations: 7.555 MB / 1.316 GB, free: 6.672 MB / 0.9986 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.478, allocations: 2.418 MB / 1.318 GB, free: 4.246 MB / 0.9986 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/1.478, allocations: 72.66 kB / 1.318 GB, free: 4.172 MB / 0.9986 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.215e-05/1.478, allocations: 91.25 kB / 1.318 GB, free: 4.07 MB / 0.9986 GB Notification: Performance of pre-optimization done (n=597): time 8.136e-06/1.478, allocations: 0 / 1.318 GB, free: 4.07 MB / 0.9986 GB Notification: Performance of matching and sorting (n=597): time 0.05001/1.528, allocations: 16.01 MB / 1.334 GB, free: 3.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/1.528, allocations: 116.1 kB / 1.334 GB, free: 3.789 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007312/1.536, allocations: 3.879 MB / 1.338 GB, free: 15.9 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.000386/1.536, allocations: 113.7 kB / 1.338 GB, free: 15.79 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.538, allocations: 2.61 MB / 1.34 GB, free: 13.15 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.00222/1.54, allocations: 2.048 MB / 1.342 GB, free: 11.07 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.542, allocations: 1.064 MB / 1.343 GB, free: 9.996 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/1.542, allocations: 313 kB / 1.344 GB, free: 9.688 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/1.545, allocations: 1.766 MB / 1.345 GB, free: 7.918 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/1.549, allocations: 3.152 MB / 1.348 GB, free: 4.238 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007663/1.557, allocations: 5.346 MB / 1.354 GB, free: 14.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-05/1.557, allocations: 12 kB / 1.354 GB, free: 14.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01314/1.57, allocations: 7.229 MB / 1.361 GB, free: 6.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/1.57, allocations: 20 kB / 1.361 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/1.57, allocations: 40 kB / 1.361 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00978/1.58, allocations: 2.257 MB / 1.363 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005397/1.585, allocations: 1.498 MB / 1.365 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/1.61, allocations: 15.09 MB / 1.379 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008482/1.619, allocations: 475.9 kB / 1.38 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007656/1.62, allocations: 244 kB / 1.38 GB, free: 3.07 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.002757/1.622, allocations: 1.031 MB / 1.381 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/1.624, allocations: 0.5636 MB / 1.381 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.635, allocations: 6.025 MB / 1.387 GB, free: 11.33 MB / 1.077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/1.635, allocations: 56 kB / 1.387 GB, free: 11.27 MB / 1.077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.635, allocations: 11.88 kB / 1.387 GB, free: 11.26 MB / 1.077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/1.635, allocations: 27.89 kB / 1.387 GB, free: 11.23 MB / 1.077 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.02291/1.658, allocations: 13.34 MB / 1.4 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.658, allocations: 4 kB / 1.4 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004045/1.663, allocations: 1.054 MB / 1.402 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003355/1.666, allocations: 0.8519 MB / 1.402 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.666, allocations: 103.9 kB / 1.402 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/1.69, allocations: 14.77 MB / 1.417 GB, free: 12.45 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.69, allocations: 4 kB / 1.417 GB, free: 12.45 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/1.708, allocations: 9.848 MB / 1.427 GB, free: 2.305 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004358/1.713, allocations: 1.185 MB / 1.428 GB, free: 1.094 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002239/1.715, allocations: 100 kB / 1.428 GB, free: 0.9961 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005746/1.721, allocations: 147.8 kB / 1.428 GB, free: 0.8516 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.722, allocations: 381.2 kB / 1.428 GB, free: 488 kB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003823/1.722, allocations: 136 kB / 1.428 GB, free: 352 kB / 1.108 GB Notification: Performance of sorting global known variables: time 0.004911/1.727, allocations: 2.52 MB / 1.431 GB, free: 13.83 MB / 1.124 GB Notification: Performance of sort global known variables: time 1.7e-07/1.727, allocations: 0 / 1.431 GB, free: 13.83 MB / 1.124 GB Notification: Performance of remove unused functions: time 0.009429/1.737, allocations: 2.245 MB / 1.433 GB, free: 11.58 MB / 1.124 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.001159/1.738, allocations: 0.5081 MB / 1.434 GB, free: 11.06 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 initialization part: time 0.01466/1.753, allocations: 7.498 MB / 1.441 GB, free: 3.473 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.753, allocations: 448 / 1.441 GB, free: 3.473 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.009532/1.762, allocations: 4.898 MB / 1.446 GB, free: 14.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008481/1.771, allocations: 0.7149 MB / 1.446 GB, free: 13.8 MB / 1.139 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.02548/1.796, allocations: 12.5 MB / 1.459 GB, free: 1.223 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004305/1.8, allocations: 3.008 MB / 1.461 GB, free: 14.18 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.003884/1.804, allocations: 0.7092 MB / 1.462 GB, free: 13.47 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/1.806, allocations: 371.4 kB / 1.463 GB, free: 13.11 MB / 1.155 GB Notification: Performance of SimCode: time 8.51e-07/1.806, allocations: 0 / 1.463 GB, free: 13.11 MB / 1.155 GB Notification: Performance of Templates: time 0.1362/1.942, allocations: 79.34 MB / 1.54 GB, free: 13.68 MB / 1.233 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 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1)