Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.005907/0.005907, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.603/1.603, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009095/0.0009095, allocations: 100.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.471/0.471, allocations: 78.58 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.000377, allocations: 12 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4097, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5489, allocations: 99.14 MB / 0.6526 GB, free: 7.379 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5493, allocations: 87.95 kB / 0.6527 GB, free: 7.293 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06491/0.6142, allocations: 22.77 MB / 0.6749 GB, free: 408 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6142, allocations: 448 / 0.6749 GB, free: 408 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.6143, allocations: 16 kB / 0.6749 GB, free: 392 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.00515/0.6195, allocations: 1.534 MB / 0.6764 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.6196, allocations: 8.031 kB / 0.6764 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.6223, allocations: 406.2 kB / 0.6768 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.624, allocations: 0.6604 MB / 0.6775 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.6243, allocations: 235.5 kB / 0.6777 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.6246, allocations: 68.34 kB / 0.6778 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.6266, allocations: 0.8735 MB / 0.6786 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6267, allocations: 0 / 0.6786 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.6268, allocations: 28 kB / 0.6786 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.6268, allocations: 12 kB / 0.6787 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.6284, allocations: 0.7547 MB / 0.6794 GB, free: 11.67 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.006699/0.6351, allocations: 3.329 MB / 0.6826 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008385/0.6436, allocations: 2.464 MB / 0.685 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.6438, allocations: 12.66 kB / 0.6851 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6438, allocations: 35.22 kB / 0.6851 GB, free: 5.598 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.967e-06/0.6438, allocations: 8 kB / 0.6851 GB, free: 5.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.01311/0.657, allocations: 3.868 MB / 0.6889 GB, free: 1.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.6571, allocations: 93.66 kB / 0.689 GB, free: 1.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.6585, allocations: 0.6799 MB / 0.6896 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.6587, allocations: 37.7 kB / 0.6897 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.6591, allocations: 420.2 kB / 0.6901 GB, free: 404 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.6594, allocations: 256.2 kB / 0.6903 GB, free: 144 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.6595, allocations: 16 kB / 0.6903 GB, free: 128 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6597, allocations: 330 kB / 0.6906 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009787/0.6607, allocations: 461.8 kB / 0.6911 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6617, allocations: 0.5407 MB / 0.6916 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6628, allocations: 492.9 kB / 0.6921 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6628, allocations: 3.938 kB / 0.6921 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006927/0.6698, allocations: 2.271 MB / 0.6943 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.6701, allocations: 0.6167 MB / 0.6949 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6701, allocations: 0 / 0.6949 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00473/0.6749, allocations: 1.16 MB / 0.696 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.6756, allocations: 111.8 kB / 0.6961 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.6872, allocations: 5.198 MB / 0.7012 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.6885, allocations: 119.3 kB / 0.7013 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.6887, allocations: 24 kB / 0.7014 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6888, allocations: 9.656 kB / 0.7014 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00647/0.6952, allocations: 2.133 MB / 0.7034 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6953, allocations: 7.984 kB / 0.7035 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/0.6998, allocations: 1.177 MB / 0.7046 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.7005, allocations: 99.89 kB / 0.7047 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.7112, allocations: 5.197 MB / 0.7098 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.7125, allocations: 103.3 kB / 0.7099 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.7127, allocations: 31.98 kB / 0.7099 GB, free: 11.69 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.0007377/0.7134, allocations: 295.8 kB / 0.7102 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.7138, allocations: 90.88 kB / 0.7103 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/0.7195, allocations: 2.109 MB / 0.7123 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.7195, allocations: 8 kB / 0.7123 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.7195, allocations: 8 kB / 0.7123 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.7195, allocations: 3.984 kB / 0.7124 GB, free: 9.148 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.008049/0.7276, allocations: 3.478 MB / 0.7157 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7276, allocations: 0 / 0.7157 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.7283, allocations: 83.97 kB / 0.7158 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.7316, allocations: 0.9925 MB / 0.7168 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.7317, allocations: 19.94 kB / 0.7168 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007734/0.7395, allocations: 4.051 MB / 0.7208 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7395, allocations: 0 / 0.7208 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007153/0.7467, allocations: 2.798 MB / 0.7235 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.7472, allocations: 187.8 kB / 0.7237 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.7475, allocations: 16 kB / 0.7237 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.7485, allocations: 67.94 kB / 0.7238 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.7488, allocations: 120.5 kB / 0.7239 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.7489, allocations: 19.95 kB / 0.7239 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009686/0.7499, allocations: 0.5303 MB / 0.7244 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7499, allocations: 0 / 0.7244 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001984/0.7519, allocations: 0.5265 MB / 0.7249 GB, free: 11.97 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.0003711/0.7523, allocations: 147.1 kB / 0.7251 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007783/0.7601, allocations: 3.107 MB / 0.7281 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7601, allocations: 0 / 0.7281 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.7631, allocations: 1.253 MB / 0.7293 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.7639, allocations: 59.31 kB / 0.7294 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.7689, allocations: 2.341 MB / 0.7317 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008928/0.7698, allocations: 1.026 MB / 0.7327 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000539/0.7704, allocations: 68.89 kB / 0.7327 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.7706, allocations: 51.42 kB / 0.7328 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.7707, allocations: 0 / 0.7328 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of Templates: time 0.0345/0.8052, allocations: 18.34 MB / 0.7507 GB, free: 1.383 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)