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.001403/0.001403, allocations: 113.4 kB / 18.41 MB, free: 4.672 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.001405/0.001405, allocations: 188.9 kB / 19.35 MB, free: 3.746 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.511/1.511, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0672/0.0672, allocations: 14.16 MB / 286.7 MB, free: 13.87 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.947/3.947, allocations: 461.2 MB / 0.7801 GB, free: 107.2 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.002619/0.002619, allocations: 92.27 kB / 1.131 GB, free: 22.44 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3992, allocations: 172.1 MB / 1.299 GB, free: 7.719 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.04616/0.4453, allocations: 45.58 MB / 1.344 GB, free: 9.965 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.03277/0.4781, allocations: 16.2 MB / 1.359 GB, free: 9.699 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/0.4887, allocations: 127.6 kB / 1.359 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.4987, allocations: 2.392 MB / 1.362 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02752/0.5262, allocations: 7.329 MB / 1.369 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.5314, allocations: 1.013 MB / 1.37 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02612/0.5576, allocations: 14.06 MB / 1.384 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.5601, allocations: 0.5672 MB / 1.384 GB, free: 68 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.5713, allocations: 4.716 MB / 1.389 GB, free: 11.33 MB / 1.077 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.5831, allocations: 5.062 MB / 1.394 GB, free: 6.25 MB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.003049/0.5861, allocations: 500 kB / 1.394 GB, free: 5.762 MB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/0.5938, allocations: 1.347 MB / 1.396 GB, free: 4.414 MB / 1.077 GB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.596, allocations: 1.236 MB / 1.397 GB, free: 3.172 MB / 1.077 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.6067, allocations: 4.237 MB / 1.401 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.6295, allocations: 10.2 MB / 1.411 GB, free: 4.676 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.6295, allocations: 0 / 1.411 GB, free: 4.676 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6295, allocations: 0 / 1.411 GB, free: 4.676 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003817/0.6299, allocations: 0 / 1.411 GB, free: 4.676 MB / 1.092 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.04718/0.6771, allocations: 11.2 MB / 1.422 GB, free: 9.379 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.6772, allocations: 8.031 kB / 1.422 GB, free: 9.371 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.6839, allocations: 1.16 MB / 1.423 GB, free: 8.207 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.696, allocations: 4.202 MB / 1.427 GB, free: 3.945 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.6965, allocations: 428 kB / 1.427 GB, free: 3.527 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.6977, allocations: 0.5433 MB / 1.428 GB, free: 2.984 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.7101, allocations: 5.83 MB / 1.434 GB, free: 12.93 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.7102, allocations: 11.88 kB / 1.434 GB, free: 12.91 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.7107, allocations: 240 kB / 1.434 GB, free: 12.68 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.7109, allocations: 144 kB / 1.434 GB, free: 12.54 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.7236, allocations: 5.707 MB / 1.44 GB, free: 6.824 MB / 1.124 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.07124/0.7948, allocations: 39.05 MB / 1.478 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.809, allocations: 7.097 MB / 1.485 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/0.8134, allocations: 2.125 MB / 1.487 GB, free: 2.598 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.8138, allocations: 69.11 kB / 1.487 GB, free: 2.527 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.728e-05/0.8138, allocations: 91.25 kB / 1.487 GB, free: 2.426 MB / 1.17 GB Notification: Performance of pre-optimization done (n=597): time 7.694e-06/0.8139, allocations: 0 / 1.487 GB, free: 2.426 MB / 1.17 GB Notification: Performance of matching and sorting (n=597): time 0.05676/0.8706, allocations: 15.96 MB / 1.503 GB, free: 2.324 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.8707, allocations: 116 kB / 1.503 GB, free: 2.195 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008114/0.8788, allocations: 3.883 MB / 1.506 GB, free: 14.31 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.0009639/0.8798, allocations: 125.7 kB / 1.507 GB, free: 14.18 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002849/0.8827, allocations: 2.673 MB / 1.509 GB, free: 11.48 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.003598/0.8863, allocations: 2.145 MB / 1.511 GB, free: 9.32 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/0.8883, allocations: 1.081 MB / 1.512 GB, free: 8.23 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8885, allocations: 305.1 kB / 1.513 GB, free: 7.93 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.8919, allocations: 1.77 MB / 1.514 GB, free: 6.156 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/0.8971, allocations: 3.148 MB / 1.517 GB, free: 2.484 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.9071, allocations: 5.342 MB / 1.523 GB, free: 12.55 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.9071, allocations: 12 kB / 1.523 GB, free: 12.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01644/0.9236, allocations: 7.177 MB / 1.53 GB, free: 5.293 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/0.9236, allocations: 20 kB / 1.53 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-05/0.9237, allocations: 40 kB / 1.53 GB, free: 5.234 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.9343, allocations: 2.242 MB / 1.532 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/0.941, allocations: 1.498 MB / 1.533 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/0.9714, allocations: 15.14 MB / 1.548 GB, free: 2.059 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/0.9797, allocations: 497 kB / 1.549 GB, free: 1.57 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.9808, allocations: 240 kB / 1.549 GB, free: 1.336 MB / 1.233 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.003142/0.984, allocations: 1.027 MB / 1.55 GB, free: 304 kB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002282/0.9862, allocations: 0.5903 MB / 1.55 GB, free: 15.7 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.9984, allocations: 5.958 MB / 1.556 GB, free: 9.645 MB / 1.249 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/0.9985, allocations: 59.98 kB / 1.556 GB, free: 9.586 MB / 1.249 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.9985, allocations: 3.938 kB / 1.556 GB, free: 9.582 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-05/0.9985, allocations: 27.89 kB / 1.556 GB, free: 9.555 MB / 1.249 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.02816/1.027, allocations: 13.26 MB / 1.569 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.027, allocations: 7.938 kB / 1.569 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00466/1.031, allocations: 1.054 MB / 1.57 GB, free: 10.87 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/1.035, allocations: 0.8558 MB / 1.571 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006005/1.036, allocations: 96 kB / 1.571 GB, free: 9.914 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/1.065, allocations: 14.84 MB / 1.586 GB, free: 10.77 MB / 1.28 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.065, allocations: 4 kB / 1.586 GB, free: 10.77 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.088, allocations: 9.818 MB / 1.595 GB, free: 0.6641 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408/2.497, allocations: 1.204 MB / 1.596 GB, free: 270.3 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/2.499, allocations: 103.6 kB / 1.597 GB, free: 270.3 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006233/2.505, allocations: 144.1 kB / 1.597 GB, free: 270.3 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001393/2.506, allocations: 389.3 kB / 1.597 GB, free: 270.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003556/2.507, allocations: 138.3 kB / 1.597 GB, free: 270.3 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.006574/2.513, allocations: 2.513 MB / 1.6 GB, free: 270.1 MB / 1.28 GB Notification: Performance of sort global known variables: time 9e-08/2.513, allocations: 0.9688 kB / 1.6 GB, free: 270.1 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.01139/2.525, allocations: 2.249 MB / 1.602 GB, free: 270.1 MB / 1.28 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.001527/2.526, allocations: 0.5038 MB / 1.602 GB, free: 270 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.01943/2.546, allocations: 7.176 MB / 1.609 GB, free: 268.7 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/2.546, allocations: 1.031 kB / 1.609 GB, free: 268.7 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/2.559, allocations: 4.652 MB / 1.614 GB, free: 267 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006736/2.566, allocations: 0.729 MB / 1.615 GB, free: 266.5 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/2.596, allocations: 12.83 MB / 1.627 GB, free: 259.9 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005216/2.601, allocations: 3.011 MB / 1.63 GB, free: 259 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/2.604, allocations: 424.2 kB / 1.63 GB, free: 259 MB / 1.28 GB Notification: Performance of SimCode: time 2.034e-06/2.604, allocations: 1.5 kB / 1.63 GB, free: 259 MB / 1.28 GB Notification: Performance of Templates: time 0.1643/2.768, allocations: 132.1 MB / 1.76 GB, free: 150.2 MB / 1.28 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)