Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003909/0.003909, allocations: 171.8 kB / 15.11 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 107.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.384/0.384, allocations: 78.51 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 12 kB / 499.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2774, allocations: 69.35 MB / 0.5557 GB, free: 38.72 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09831/0.3758, allocations: 99.15 MB / 0.6526 GB, free: 7.281 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.376, allocations: 83.95 kB / 0.6526 GB, free: 7.199 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05572/0.4317, allocations: 22.76 MB / 0.6749 GB, free: 316 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4317, allocations: 448 / 0.6749 GB, free: 316 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.915e-05/0.4318, allocations: 16 kB / 0.6749 GB, free: 300 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003267/0.4351, allocations: 1.534 MB / 0.6764 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4351, allocations: 8.031 kB / 0.6764 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.4372, allocations: 406.2 kB / 0.6768 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.4381, allocations: 0.6682 MB / 0.6774 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4383, allocations: 227.5 kB / 0.6776 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4384, allocations: 68.34 kB / 0.6777 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.4399, allocations: 0.8735 MB / 0.6786 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4399, allocations: 3.938 kB / 0.6786 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.44, allocations: 28 kB / 0.6786 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.44, allocations: 19.98 kB / 0.6786 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.4413, allocations: 0.7509 MB / 0.6793 GB, free: 11.57 MB / 490.7 MB 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.004796/0.4461, allocations: 3.325 MB / 0.6826 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007682/0.4538, allocations: 2.46 MB / 0.685 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.162e-05/0.4539, allocations: 12.64 kB / 0.685 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4539, allocations: 47.22 kB / 0.685 GB, free: 5.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.4539, allocations: 0 / 0.685 GB, free: 5.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.01134/0.4653, allocations: 3.872 MB / 0.6888 GB, free: 1.555 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4653, allocations: 93.72 kB / 0.6889 GB, free: 1.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.4663, allocations: 0.6799 MB / 0.6896 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.4663, allocations: 33.7 kB / 0.6896 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.4666, allocations: 420.2 kB / 0.69 GB, free: 308 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.4668, allocations: 252.2 kB / 0.6903 GB, free: 52 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.4669, allocations: 16 kB / 0.6903 GB, free: 36 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.467, allocations: 338 kB / 0.6906 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.4678, allocations: 453.8 kB / 0.691 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.4687, allocations: 0.5368 MB / 0.6915 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.4695, allocations: 0.4891 MB / 0.692 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4695, allocations: 0 / 0.692 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00593/0.4755, allocations: 2.271 MB / 0.6942 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.4757, allocations: 0.62 MB / 0.6948 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4757, allocations: 0 / 0.6948 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.4799, allocations: 1.16 MB / 0.696 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.4804, allocations: 111.8 kB / 0.6961 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009508/0.49, allocations: 5.201 MB / 0.7012 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.4909, allocations: 111.3 kB / 0.7013 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.491, allocations: 24 kB / 0.7013 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.491, allocations: 7.938 kB / 0.7013 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005756/0.4968, allocations: 2.145 MB / 0.7034 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4968, allocations: 0 / 0.7034 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/0.5009, allocations: 1.173 MB / 0.7045 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.5014, allocations: 103.8 kB / 0.7046 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009257/0.5107, allocations: 5.194 MB / 0.7097 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.5116, allocations: 107.3 kB / 0.7098 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.5116, allocations: 20 kB / 0.7098 GB, free: 11.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004516/0.5121, allocations: 305.8 kB / 0.7101 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5123, allocations: 94.86 kB / 0.7102 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.5173, allocations: 2.105 MB / 0.7123 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.5173, allocations: 8 kB / 0.7123 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5173, allocations: 4 kB / 0.7123 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5173, allocations: 3.984 kB / 0.7123 GB, free: 9.051 MB / 0.5105 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.00666/0.524, allocations: 3.482 MB / 0.7157 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.524, allocations: 0 / 0.7157 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.5246, allocations: 87.95 kB / 0.7158 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/0.5275, allocations: 0.9886 MB / 0.7167 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.5276, allocations: 16 kB / 0.7168 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/0.5342, allocations: 4.051 MB / 0.7207 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5342, allocations: 4 kB / 0.7207 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.5402, allocations: 2.795 MB / 0.7234 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.5405, allocations: 191.8 kB / 0.7236 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5406, allocations: 16 kB / 0.7236 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.5414, allocations: 67.95 kB / 0.7237 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.5417, allocations: 124.4 kB / 0.7238 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.5417, allocations: 23.95 kB / 0.7238 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006458/0.5424, allocations: 0.5303 MB / 0.7244 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5424, allocations: 4 kB / 0.7244 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00127/0.5437, allocations: 0.515 MB / 0.7249 GB, free: 11.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002387/0.5439, allocations: 156.5 kB / 0.725 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00671/0.5506, allocations: 3.099 MB / 0.728 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5506, allocations: 384 / 0.7281 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/0.5533, allocations: 1.249 MB / 0.7293 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.5538, allocations: 67.23 kB / 0.7293 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.5573, allocations: 2.328 MB / 0.7316 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5579, allocations: 1.03 MB / 0.7326 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000359/0.5582, allocations: 72.89 kB / 0.7327 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.5584, allocations: 47.44 kB / 0.7327 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.5584, allocations: 0 / 0.7327 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of Templates: time 0.02616/0.5846, allocations: 18.35 MB / 0.7506 GB, free: 1.289 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)