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.001434/0.001434, allocations: 104.3 kB / 17.81 MB, free: 5.695 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.001674/0.001674, allocations: 194.5 kB / 18.73 MB, free: 4.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.362/1.362, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05917/0.05917, allocations: 14.16 MB / 286.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.076/3.076, allocations: 461.2 MB / 0.7794 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.00214/0.00214, allocations: 91.86 kB / 0.9607 GB, free: 3.973 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 172.1 MB / 1.129 GB, free: 27.98 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03303/1.21, allocations: 46.01 MB / 1.174 GB, free: 10.18 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03077/1.241, allocations: 16.26 MB / 1.19 GB, free: 12.84 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01164/1.253, allocations: 136.4 kB / 1.19 GB, free: 12.81 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/1.263, allocations: 2.075 MB / 1.192 GB, free: 11.26 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.02266/1.286, allocations: 6.336 MB / 1.198 GB, free: 5.977 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/1.291, allocations: 0.9549 MB / 1.199 GB, free: 5.258 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.02488/1.315, allocations: 14.17 MB / 1.213 GB, free: 13.22 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/1.319, allocations: 0.9484 MB / 1.214 GB, free: 12.74 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/1.329, allocations: 3.581 MB / 1.217 GB, free: 10.77 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009897/1.339, allocations: 4.117 MB / 1.221 GB, free: 8.203 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.002186/1.341, allocations: 220.7 kB / 1.221 GB, free: 8.203 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008535/1.349, allocations: 0.8796 MB / 1.222 GB, free: 8.016 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.002398/1.352, allocations: 0.8875 MB / 1.223 GB, free: 7.277 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.01227/1.364, allocations: 3.692 MB / 1.227 GB, free: 4.91 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/1.379, allocations: 7.02 MB / 1.234 GB, free: 15.83 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/1.379, allocations: 4 kB / 1.234 GB, free: 15.83 MB / 0.936 GB Notification: Performance of FrontEnd: time 2.324e-06/1.379, allocations: 1.438 kB / 1.234 GB, free: 15.83 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0004379/1.379, allocations: 0 / 1.234 GB, free: 15.83 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.04732/1.426, allocations: 10.48 MB / 1.244 GB, free: 9.348 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.426, allocations: 12.7 kB / 1.244 GB, free: 9.344 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/1.434, allocations: 1.125 MB / 1.245 GB, free: 8.785 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/1.446, allocations: 3.862 MB / 1.249 GB, free: 5.879 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/1.446, allocations: 427.8 kB / 1.249 GB, free: 5.688 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/1.448, allocations: 0.5467 MB / 1.25 GB, free: 5.504 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/1.463, allocations: 5.823 MB / 1.255 GB, free: 1.832 MB / 0.936 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/1.463, allocations: 8.25 kB / 1.255 GB, free: 1.828 MB / 0.936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006977/1.464, allocations: 236.8 kB / 1.256 GB, free: 1.648 MB / 0.936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/1.464, allocations: 144.3 kB / 1.256 GB, free: 1.648 MB / 0.936 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/1.478, allocations: 5.715 MB / 1.261 GB, free: 14.89 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.05751/1.536, allocations: 36.42 MB / 1.297 GB, free: 8.801 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/1.551, allocations: 7.559 MB / 1.304 GB, free: 1.156 MB / 0.9829 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005204/1.556, allocations: 2.418 MB / 1.307 GB, free: 14.73 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/1.556, allocations: 72.67 kB / 1.307 GB, free: 14.66 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/1.557, allocations: 95.23 kB / 1.307 GB, free: 14.55 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 1.18e-05/1.557, allocations: 0 / 1.307 GB, free: 14.55 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.05767/1.614, allocations: 16.01 MB / 1.322 GB, free: 14.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.615, allocations: 112.1 kB / 1.322 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00845/1.623, allocations: 3.46 MB / 1.326 GB, free: 10.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009928/1.624, allocations: 117.7 kB / 1.326 GB, free: 10.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.627, allocations: 2.595 MB / 1.328 GB, free: 8.062 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003471/1.63, allocations: 2.048 MB / 1.33 GB, free: 5.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004106/1.634, allocations: 1.064 MB / 1.332 GB, free: 4.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.635, allocations: 309.1 kB / 1.332 GB, free: 4.605 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.639, allocations: 1.77 MB / 1.334 GB, free: 2.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00574/1.645, allocations: 3.144 MB / 1.337 GB, free: 15.16 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.656, allocations: 5.342 MB / 1.342 GB, free: 9.238 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.908e-05/1.656, allocations: 12 kB / 1.342 GB, free: 9.227 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01994/1.676, allocations: 7.229 MB / 1.349 GB, free: 1.922 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/1.676, allocations: 20 kB / 1.349 GB, free: 1.902 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.951e-05/1.676, allocations: 40.31 kB / 1.349 GB, free: 1.863 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/1.687, allocations: 2.265 MB / 1.351 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006418/1.694, allocations: 1.498 MB / 1.353 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02977/1.724, allocations: 13.76 MB / 1.366 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007819/1.732, allocations: 0.4994 MB / 1.367 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.733, allocations: 248 kB / 1.367 GB, free: 15.31 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.004164/1.737, allocations: 1.024 MB / 1.368 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/1.74, allocations: 0.5753 MB / 1.368 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.755, allocations: 6.025 MB / 1.374 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.149e-05/1.755, allocations: 56 kB / 1.374 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.755, allocations: 0 / 1.374 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001351/1.755, allocations: 31.89 kB / 1.374 GB, free: 7.48 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.03232/1.787, allocations: 12.45 MB / 1.386 GB, free: 10.63 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-05/1.787, allocations: 7.984 kB / 1.387 GB, free: 10.62 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005079/1.792, allocations: 1.05 MB / 1.388 GB, free: 9.574 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/1.797, allocations: 0.8675 MB / 1.388 GB, free: 8.703 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008433/1.798, allocations: 100 kB / 1.388 GB, free: 8.605 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/1.825, allocations: 13.47 MB / 1.402 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.825, allocations: 8 kB / 1.402 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/1.847, allocations: 9.618 MB / 1.411 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004585/1.852, allocations: 1.009 MB / 1.412 GB, free: 15.9 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/1.854, allocations: 104 kB / 1.412 GB, free: 15.8 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00548/1.86, allocations: 210.7 kB / 1.412 GB, free: 15.59 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001439/1.861, allocations: 389.2 kB / 1.413 GB, free: 15.21 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006563/1.862, allocations: 140 kB / 1.413 GB, free: 15.07 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.005536/1.867, allocations: 2.196 MB / 1.415 GB, free: 12.88 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.2e-07/1.867, allocations: 0 / 1.415 GB, free: 12.88 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.01024/1.878, allocations: 2.061 MB / 1.417 GB, free: 10.82 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.001534/1.879, allocations: 0.5197 MB / 1.417 GB, free: 10.28 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.01696/1.896, allocations: 7.225 MB / 1.425 GB, free: 2.973 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.896, allocations: 0 / 1.425 GB, free: 2.973 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.01106/1.907, allocations: 4.623 MB / 1.429 GB, free: 14.3 MB / 1.124 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009309/1.917, allocations: 0.5449 MB / 1.43 GB, free: 13.75 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.03229/1.949, allocations: 15.47 MB / 1.445 GB, free: 14.22 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/1.953, allocations: 3.006 MB / 1.448 GB, free: 11.18 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/1.955, allocations: 371.4 kB / 1.448 GB, free: 10.82 MB / 1.139 GB Notification: Performance of SimCode: time 1.393e-06/1.955, allocations: 0 / 1.448 GB, free: 10.82 MB / 1.139 GB Notification: Performance of Templates: time 0.1809/2.136, allocations: 124.9 MB / 1.57 GB, free: 13.63 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)