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.0007626/0.0007627, allocations: 94.61 kB / 17.96 MB, free: 5.898 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.0007965/0.0007966, allocations: 175.8 kB / 18.87 MB, free: 5.031 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.54/1.54, allocations: 205.4 MB / 225 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06073/0.06073, allocations: 14.17 MB / 287.5 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.814/3.814, allocations: 464.4 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.0007144/0.0007144, allocations: 16 kB / 0.9701 GB, free: 15.57 MB / 0.7483 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399/1.4, allocations: 176.2 MB / 1.142 GB, free: 24.86 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03799/1.438, allocations: 44.54 MB / 1.186 GB, free: 6.793 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03415/1.472, allocations: 16.04 MB / 1.201 GB, free: 9.277 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/1.485, allocations: 128.3 kB / 1.201 GB, free: 9.25 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.009981/1.495, allocations: 2.071 MB / 1.204 GB, free: 7.699 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.0273/1.522, allocations: 6.315 MB / 1.21 GB, free: 2.438 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.004917/1.527, allocations: 0.9474 MB / 1.211 GB, free: 1.723 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.02673/1.554, allocations: 14.16 MB / 1.224 GB, free: 9.695 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003933/1.558, allocations: 0.9515 MB / 1.225 GB, free: 9.211 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/1.569, allocations: 3.545 MB / 1.229 GB, free: 7.266 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/1.579, allocations: 4.064 MB / 1.233 GB, free: 4.75 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.002502/1.582, allocations: 199.5 kB / 1.233 GB, free: 4.75 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008772/1.591, allocations: 0.8615 MB / 1.234 GB, free: 4.559 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/1.593, allocations: 0.8616 MB / 1.235 GB, free: 3.848 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.01452/1.608, allocations: 3.684 MB / 1.238 GB, free: 1.477 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/1.623, allocations: 6.81 MB / 1.245 GB, free: 12.6 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.623, allocations: 1.344 kB / 1.245 GB, free: 12.6 MB / 0.936 GB Notification: Performance of FrontEnd: time 2.916e-06/1.623, allocations: 0 / 1.245 GB, free: 12.6 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0004426/1.624, allocations: 0 / 1.245 GB, free: 12.6 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.04111/1.665, allocations: 9.252 MB / 1.254 GB, free: 6.969 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/1.665, allocations: 8.406 kB / 1.254 GB, free: 6.969 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007572/1.673, allocations: 1.124 MB / 1.255 GB, free: 6.414 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/1.687, allocations: 3.857 MB / 1.259 GB, free: 3.512 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008979/1.688, allocations: 436.4 kB / 1.259 GB, free: 3.312 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/1.69, allocations: 0.5426 MB / 1.26 GB, free: 3.133 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/1.711, allocations: 5.828 MB / 1.265 GB, free: 15.45 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003707/1.712, allocations: 8.219 kB / 1.265 GB, free: 15.45 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/1.713, allocations: 240.2 kB / 1.266 GB, free: 15.27 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/1.713, allocations: 144.8 kB / 1.266 GB, free: 15.27 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/1.73, allocations: 5.713 MB / 1.271 GB, free: 12.43 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.06037/1.79, allocations: 36.45 MB / 1.307 GB, free: 4.113 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.805, allocations: 7.565 MB / 1.314 GB, free: 12.46 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005012/1.81, allocations: 2.422 MB / 1.317 GB, free: 10.03 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/1.811, allocations: 72.66 kB / 1.317 GB, free: 9.957 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/1.811, allocations: 99.38 kB / 1.317 GB, free: 9.848 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 1.419e-05/1.811, allocations: 0 / 1.317 GB, free: 9.848 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.06032/1.872, allocations: 16.08 MB / 1.333 GB, free: 9.625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.872, allocations: 116.1 kB / 1.333 GB, free: 9.496 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/1.879, allocations: 3.457 MB / 1.336 GB, free: 6.035 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000844/1.88, allocations: 117.7 kB / 1.336 GB, free: 5.914 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/1.882, allocations: 2.603 MB / 1.339 GB, free: 3.281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003019/1.886, allocations: 2.037 MB / 1.341 GB, free: 1.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.887, allocations: 0.4967 MB / 1.341 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.887, allocations: 309.1 kB / 1.342 GB, free: 416 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/1.89, allocations: 1.77 MB / 1.343 GB, free: 14.63 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/1.894, allocations: 3.148 MB / 1.346 GB, free: 10.96 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008347/1.903, allocations: 5.342 MB / 1.352 GB, free: 5.035 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/1.903, allocations: 11.94 kB / 1.352 GB, free: 5.023 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01452/1.917, allocations: 7.229 MB / 1.359 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/1.917, allocations: 24 kB / 1.359 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/1.917, allocations: 36 kB / 1.359 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.928, allocations: 2.257 MB / 1.361 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/1.934, allocations: 1.494 MB / 1.362 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/1.96, allocations: 13.89 MB / 1.376 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007848/1.968, allocations: 0.4994 MB / 1.376 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009545/1.969, allocations: 240 kB / 1.377 GB, free: 11 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.003015/1.972, allocations: 1.031 MB / 1.378 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.974, allocations: 0.5675 MB / 1.378 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.985, allocations: 6.028 MB / 1.384 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.925e-05/1.985, allocations: 60 kB / 1.384 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.985, allocations: 0 / 1.384 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.097e-05/1.986, allocations: 35.81 kB / 1.384 GB, free: 3.156 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.02389/2.009, allocations: 12.46 MB / 1.396 GB, free: 6.297 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/2.01, allocations: 4.5 kB / 1.396 GB, free: 6.293 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004434/2.014, allocations: 1.049 MB / 1.397 GB, free: 5.242 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/2.018, allocations: 0.8637 MB / 1.398 GB, free: 4.375 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003722/2.018, allocations: 104 kB / 1.398 GB, free: 4.273 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/2.043, allocations: 13.6 MB / 1.412 GB, free: 6.391 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/2.043, allocations: 7.938 kB / 1.412 GB, free: 6.383 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/2.062, allocations: 9.618 MB / 1.421 GB, free: 12.48 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003712/2.066, allocations: 1.017 MB / 1.422 GB, free: 11.43 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/2.067, allocations: 96 kB / 1.422 GB, free: 11.34 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/2.071, allocations: 210.7 kB / 1.422 GB, free: 11.13 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009607/2.072, allocations: 385.4 kB / 1.423 GB, free: 10.75 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/2.072, allocations: 140 kB / 1.423 GB, free: 10.62 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.003852/2.076, allocations: 2.208 MB / 1.425 GB, free: 8.414 MB / 1.108 GB Notification: Performance of sort global known variables: time 3.2e-07/2.076, allocations: 0 / 1.425 GB, free: 8.414 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.009506/2.086, allocations: 2.053 MB / 1.427 GB, free: 6.359 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.001205/2.087, allocations: 0.5793 MB / 1.427 GB, free: 5.766 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.01528/2.102, allocations: 7.276 MB / 1.435 GB, free: 14.41 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/2.102, allocations: 128 / 1.435 GB, free: 14.41 MB / 1.124 GB Notification: Performance of simCode: created simulation system equations: time 0.01159/2.114, allocations: 4.688 MB / 1.439 GB, free: 9.668 MB / 1.124 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008475/2.123, allocations: 0.5536 MB / 1.44 GB, free: 9.113 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.02687/2.15, allocations: 15.47 MB / 1.455 GB, free: 9.574 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/2.154, allocations: 3.01 MB / 1.458 GB, free: 6.535 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/2.156, allocations: 375.4 kB / 1.458 GB, free: 6.168 MB / 1.139 GB Notification: Performance of SimCode: time 1.413e-06/2.156, allocations: 0 / 1.458 GB, free: 6.168 MB / 1.139 GB Notification: Performance of Templates: time 0.1749/2.331, allocations: 124.1 MB / 1.579 GB, free: 9.832 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)