Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.SimulationFixedInitial.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002591/0.002591, allocations: 362.2 kB / 17.21 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.942/3.942, allocations: 388.9 MB / 406.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003605/0.003605, allocations: 233.6 kB / 452.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.759/0.759, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 16 kB / 0.6222 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09236, allocations: 53.22 MB / 0.6742 GB, free: 60.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009646/0.1021, allocations: 8.232 MB / 0.6822 GB, free: 52.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00611/0.1082, allocations: 2.709 MB / 0.6849 GB, free: 49.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1094, allocations: 59.56 kB / 0.685 GB, free: 49.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1105, allocations: 242.3 kB / 0.6852 GB, free: 49.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.1128, allocations: 0.5944 MB / 0.6858 GB, free: 49.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1149, allocations: 466.9 kB / 0.6862 GB, free: 48.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.117, allocations: 1.543 MB / 0.6877 GB, free: 47.09 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.1193, allocations: 1.01 MB / 0.6887 GB, free: 46.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.1204, allocations: 461.8 kB / 0.6891 GB, free: 45.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1218, allocations: 0.6659 MB / 0.6898 GB, free: 44.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.1221, allocations: 40 kB / 0.6898 GB, free: 44.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.1228, allocations: 191.7 kB / 0.69 GB, free: 44.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.1233, allocations: 482.7 kB / 0.6905 GB, free: 44.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.1237, allocations: 205.2 kB / 0.6907 GB, free: 44.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.125, allocations: 0.9859 MB / 0.6916 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.125, allocations: 0 / 0.6916 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.125, allocations: 0 / 0.6916 GB, free: 43.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.177e-05/0.1251, allocations: 7.938 kB / 0.6916 GB, free: 43.02 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003073/0.1282, allocations: 1.167 MB / 0.6928 GB, free: 41.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1282, allocations: 8.031 kB / 0.6928 GB, free: 41.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.1299, allocations: 178.5 kB / 0.693 GB, free: 41.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1318, allocations: 0.6834 MB / 0.6936 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.038e-05/0.1319, allocations: 66 kB / 0.6937 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.1322, allocations: 108 kB / 0.6938 GB, free: 40.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.1348, allocations: 1.22 MB / 0.695 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.1349, allocations: 4 kB / 0.695 GB, free: 39.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.135, allocations: 36 kB / 0.695 GB, free: 39.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004433/0.1354, allocations: 61.97 kB / 0.6951 GB, free: 39.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.1378, allocations: 1.003 MB / 0.6961 GB, free: 38.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008621/0.1465, allocations: 4.772 MB / 0.7007 GB, free: 33.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.1482, allocations: 0.6758 MB / 0.7014 GB, free: 32.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.1492, allocations: 447.9 kB / 0.7018 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.1493, allocations: 12.52 kB / 0.7018 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.1503, allocations: 0.4964 MB / 0.7023 GB, free: 31.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.797e-06/0.1503, allocations: 0 / 0.7023 GB, free: 31.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=73): time 0.006927/0.1573, allocations: 2.776 MB / 0.705 GB, free: 28.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.1574, allocations: 174.8 kB / 0.7052 GB, free: 28.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.1583, allocations: 0.5859 MB / 0.7058 GB, free: 28.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.1584, allocations: 41.7 kB / 0.7058 GB, free: 27.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.1588, allocations: 482.9 kB / 0.7063 GB, free: 27.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.1591, allocations: 256.5 kB / 0.7065 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.1591, allocations: 24 kB / 0.7065 GB, free: 27.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1593, allocations: 386.8 kB / 0.7069 GB, free: 26.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.1601, allocations: 369.8 kB / 0.7072 GB, free: 26.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.1612, allocations: 0.6232 MB / 0.7078 GB, free: 25.73 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.009564/0.1707, allocations: 2.494 MB / 0.7103 GB, free: 23.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.1708, allocations: 7.953 kB / 0.7103 GB, free: 23.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003383/0.1742, allocations: 1.324 MB / 0.7116 GB, free: 21.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.1743, allocations: 37.69 kB / 0.7116 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.1743, allocations: 8 kB / 0.7116 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.1754, allocations: 254.6 kB / 0.7119 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.1777, allocations: 259.6 kB / 0.7121 GB, free: 21.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.1843, allocations: 5.57 MB / 0.7176 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.1854, allocations: 43.89 kB / 0.7176 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.1855, allocations: 39.98 kB / 0.7176 GB, free: 15.2 MB / 442.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007006/0.1862, allocations: 380 kB / 0.718 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.1864, allocations: 79.02 kB / 0.7181 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.1893, allocations: 1.137 MB / 0.7192 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.1894, allocations: 3.984 kB / 0.7192 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1894, allocations: 4.125 kB / 0.7192 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.1897, allocations: 148.1 kB / 0.7193 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.1899, allocations: 35.92 kB / 0.7194 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.1905, allocations: 23.98 kB / 0.7194 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.1907, allocations: 60.55 kB / 0.7195 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00503/0.1958, allocations: 1.565 MB / 0.721 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003149/0.199, allocations: 1.709 MB / 0.7226 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000862/0.1999, allocations: 420.9 kB / 0.723 GB, free: 9.531 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006233/0.2005, allocations: 403.1 kB / 0.7234 GB, free: 9.141 MB / 442.7 MB Notification: Performance of Backend: time 7.02e-07/0.2005, allocations: 4 kB / 0.7234 GB, free: 9.137 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.2038, allocations: 1.213 MB / 0.7246 GB, free: 7.871 MB / 442.7 MB Notification: Performance of SimCode: time 0.004771/0.2086, allocations: 2.995 MB / 0.7275 GB, free: 4.816 MB / 442.7 MB Notification: Performance of Templates: time 0.3214/0.5301, allocations: 11.84 MB / 0.7391 GB, free: 125.2 MB / 442.7 MB