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.001216/0.001216, allocations: 112.1 kB / 18.41 MB, free: 4.691 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.001068/0.001068, allocations: 183.8 kB / 19.34 MB, free: 3.77 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.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05859/0.05859, allocations: 14.16 MB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.681/3.681, 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.002061/0.002061, allocations: 85.34 kB / 1.131 GB, free: 22.44 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 172.1 MB / 1.299 GB, free: 7.711 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03795/0.4129, allocations: 45.48 MB / 1.343 GB, free: 10.06 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.4424, allocations: 16.19 MB / 1.359 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.4526, allocations: 131.6 kB / 1.359 GB, free: 9.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00919/0.4619, allocations: 2.384 MB / 1.362 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02453/0.4865, allocations: 6.915 MB / 1.368 GB, free: 348 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005289/0.4918, allocations: 1.006 MB / 1.369 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02422/0.516, allocations: 14.07 MB / 1.383 GB, free: 1.207 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/0.5196, allocations: 1.024 MB / 1.384 GB, free: 148 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01/0.5296, allocations: 4.716 MB / 1.389 GB, free: 11.41 MB / 1.077 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009751/0.5394, allocations: 5.062 MB / 1.394 GB, free: 6.328 MB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.002633/0.5421, allocations: 500 kB / 1.394 GB, free: 5.84 MB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.5491, allocations: 1.351 MB / 1.395 GB, free: 4.488 MB / 1.077 GB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.5516, allocations: 1.232 MB / 1.397 GB, free: 3.25 MB / 1.077 GB Notification: Performance of NFVerifyModel.verify: time 0.01253/0.5642, allocations: 4.229 MB / 1.401 GB, free: 15 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.5864, allocations: 10.17 MB / 1.411 GB, free: 4.801 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5865, allocations: 0 / 1.411 GB, free: 4.801 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5865, allocations: 0 / 1.411 GB, free: 4.801 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003784/0.5869, allocations: 4 kB / 1.411 GB, free: 4.797 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.04645/0.6333, allocations: 11 MB / 1.421 GB, free: 9.707 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6334, allocations: 8.031 kB / 1.421 GB, free: 9.699 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/0.6398, allocations: 1.12 MB / 1.423 GB, free: 8.57 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.6506, allocations: 4.162 MB / 1.427 GB, free: 4.344 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.651, allocations: 428 kB / 1.427 GB, free: 3.926 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008062/0.6518, allocations: 0.5433 MB / 1.428 GB, free: 3.383 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009625/0.6614, allocations: 5.83 MB / 1.433 GB, free: 13.33 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/0.6615, allocations: 7.938 kB / 1.433 GB, free: 13.32 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/0.662, allocations: 236 kB / 1.434 GB, free: 13.09 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.6621, allocations: 144 kB / 1.434 GB, free: 12.95 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009092/0.6712, allocations: 5.715 MB / 1.439 GB, free: 7.227 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.06084/0.732, allocations: 39 MB / 1.477 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.7457, allocations: 7.554 MB / 1.485 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004538/0.7503, allocations: 2.414 MB / 1.487 GB, free: 2.289 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/0.7508, allocations: 76.66 kB / 1.487 GB, free: 2.211 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.7509, allocations: 91.25 kB / 1.487 GB, free: 2.109 MB / 1.17 GB Notification: Performance of pre-optimization done (n=597): time 1.23e-05/0.7509, allocations: 192 / 1.487 GB, free: 2.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=597): time 0.05379/0.8047, allocations: 16.01 MB / 1.503 GB, free: 1.953 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.8049, allocations: 116.1 kB / 1.503 GB, free: 1.824 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/0.8134, allocations: 3.882 MB / 1.507 GB, free: 13.94 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.001644/0.8151, allocations: 117.7 kB / 1.507 GB, free: 13.82 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/0.8178, allocations: 2.599 MB / 1.509 GB, free: 11.19 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.004438/0.8223, allocations: 2.052 MB / 1.511 GB, free: 9.105 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/0.8244, allocations: 1.068 MB / 1.512 GB, free: 8.027 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8246, allocations: 305.1 kB / 1.513 GB, free: 7.727 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.8276, allocations: 1.774 MB / 1.514 GB, free: 5.949 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/0.8317, allocations: 3.159 MB / 1.518 GB, free: 2.266 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007953/0.8397, allocations: 5.33 MB / 1.523 GB, free: 12.35 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.595e-05/0.8397, allocations: 8 kB / 1.523 GB, free: 12.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01494/0.8547, allocations: 7.233 MB / 1.53 GB, free: 5.035 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.8548, allocations: 24 kB / 1.53 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.547e-05/0.8548, allocations: 40 kB / 1.53 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.8652, allocations: 2.249 MB / 1.532 GB, free: 2.715 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006022/0.8713, allocations: 1.494 MB / 1.534 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/0.9006, allocations: 15.08 MB / 1.548 GB, free: 1.836 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008514/0.9091, allocations: 475.8 kB / 1.549 GB, free: 1.367 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.9102, allocations: 244 kB / 1.549 GB, free: 1.129 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.002894/0.9131, allocations: 1.027 MB / 1.55 GB, free: 92 kB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002266/0.9153, allocations: 0.5677 MB / 1.551 GB, free: 15.51 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.9266, allocations: 6.028 MB / 1.556 GB, free: 9.383 MB / 1.249 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-05/0.9267, allocations: 59.98 kB / 1.556 GB, free: 9.324 MB / 1.249 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.9267, allocations: 3.938 kB / 1.556 GB, free: 9.32 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-05/0.9268, allocations: 27.89 kB / 1.557 GB, free: 9.293 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.024/0.9508, allocations: 13.34 MB / 1.57 GB, free: 11.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.9508, allocations: 8.094 kB / 1.57 GB, free: 11.58 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/0.9552, allocations: 1.049 MB / 1.571 GB, free: 10.53 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/0.9589, allocations: 0.8558 MB / 1.571 GB, free: 9.668 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000561/0.9595, allocations: 100 kB / 1.571 GB, free: 9.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02473/0.9842, allocations: 14.77 MB / 1.586 GB, free: 10.49 MB / 1.28 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9843, allocations: 7.938 kB / 1.586 GB, free: 10.48 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/1.002, allocations: 9.852 MB / 1.596 GB, free: 348 kB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475/2.478, allocations: 1.178 MB / 1.597 GB, free: 270.7 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/2.48, allocations: 96.92 kB / 1.597 GB, free: 270.7 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00519/2.485, allocations: 144 kB / 1.597 GB, free: 270.7 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/2.486, allocations: 388.4 kB / 1.597 GB, free: 270.7 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/2.486, allocations: 142.8 kB / 1.597 GB, free: 270.7 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.005163/2.492, allocations: 2.509 MB / 1.6 GB, free: 270.5 MB / 1.28 GB Notification: Performance of sort global known variables: time 3.91e-07/2.492, allocations: 0 / 1.6 GB, free: 270.5 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.009815/2.501, allocations: 2.254 MB / 1.602 GB, free: 270.5 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.001144/2.503, allocations: 0.5061 MB / 1.603 GB, free: 270.4 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.01735/2.52, allocations: 7.494 MB / 1.61 GB, free: 268.9 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/2.52, allocations: 3.812 kB / 1.61 GB, free: 268.9 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/2.532, allocations: 4.87 MB / 1.615 GB, free: 267.1 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/2.539, allocations: 0.731 MB / 1.615 GB, free: 266.6 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/2.566, allocations: 12.59 MB / 1.628 GB, free: 260.1 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/2.57, allocations: 3.006 MB / 1.631 GB, free: 259.3 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/2.573, allocations: 420.3 kB / 1.631 GB, free: 259.3 MB / 1.28 GB Notification: Performance of SimCode: time 2.164e-06/2.573, allocations: 1.062 kB / 1.631 GB, free: 259.3 MB / 1.28 GB Notification: Performance of Templates: time 0.1686/2.741, allocations: 131.2 MB / 1.759 GB, free: 150.9 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)