Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_2.0.0_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_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01005/0.01005, allocations: 170.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 90.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0807/0.0807, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4842/0.4842, allocations: 78.52 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004962, allocations: 20.47 kB / 0.5285 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1478, allocations: 69.33 MB / 0.5962 GB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6191, allocations: 100.7 MB / 0.6946 GB, free: 98.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.6194, allocations: 85 kB / 0.6946 GB, free: 98.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05857/0.678, allocations: 22.08 MB / 0.7162 GB, free: 92.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.678, allocations: 0 / 0.7162 GB, free: 92.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.437e-05/0.6781, allocations: 20.44 kB / 0.7162 GB, free: 92.69 MB / 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.00347/0.6816, allocations: 1.539 MB / 0.7177 GB, free: 91.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6816, allocations: 15.86 kB / 0.7177 GB, free: 91.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.6837, allocations: 407.2 kB / 0.7181 GB, free: 91.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.6847, allocations: 0.6671 MB / 0.7188 GB, free: 90.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.6849, allocations: 236.8 kB / 0.719 GB, free: 90.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.685, allocations: 66.31 kB / 0.7191 GB, free: 90.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6864, allocations: 0.8692 MB / 0.7199 GB, free: 90.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.6864, allocations: 0 / 0.7199 GB, free: 90.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.6865, allocations: 31.69 kB / 0.7199 GB, free: 90.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.6865, allocations: 15.34 kB / 0.72 GB, free: 90.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.6878, allocations: 0.7496 MB / 0.7207 GB, free: 89.76 MB / 474.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.004415/0.6922, allocations: 3.335 MB / 0.724 GB, free: 86.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.6994, allocations: 2.45 MB / 0.7263 GB, free: 84.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.802e-05/0.6994, allocations: 12.64 kB / 0.7264 GB, free: 84.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6995, allocations: 43.22 kB / 0.7264 GB, free: 84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=72): time 3.536e-06/0.6995, allocations: 3.938 kB / 0.7264 GB, free: 84 MB / 474.7 MB Notification: Performance of matching and sorting (n=72): time 0.01088/0.7104, allocations: 3.877 MB / 0.7302 GB, free: 80.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7105, allocations: 85.77 kB / 0.7303 GB, free: 79.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.7114, allocations: 0.6877 MB / 0.7309 GB, free: 79.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.7115, allocations: 37.7 kB / 0.731 GB, free: 79.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.7117, allocations: 412.2 kB / 0.7314 GB, free: 78.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.7119, allocations: 256.3 kB / 0.7316 GB, free: 78.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.712, allocations: 16 kB / 0.7316 GB, free: 78.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.7121, allocations: 334 kB / 0.7319 GB, free: 78.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.7129, allocations: 457.8 kB / 0.7324 GB, free: 77.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.7137, allocations: 0.5484 MB / 0.7329 GB, free: 77.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/0.7145, allocations: 488.9 kB / 0.7334 GB, free: 76.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7145, allocations: 0 / 0.7334 GB, free: 76.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005537/0.72, allocations: 2.279 MB / 0.7356 GB, free: 74.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.7202, allocations: 0.6234 MB / 0.7362 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7202, allocations: 7.938 kB / 0.7362 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/0.7242, allocations: 1.162 MB / 0.7374 GB, free: 72.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.7248, allocations: 111.8 kB / 0.7375 GB, free: 72.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008671/0.7335, allocations: 5.211 MB / 0.7426 GB, free: 67.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.7347, allocations: 103.4 kB / 0.7427 GB, free: 67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7349, allocations: 28 kB / 0.7427 GB, free: 66.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.7349, allocations: 4 kB / 0.7427 GB, free: 66.97 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005614/0.7405, allocations: 2.141 MB / 0.7448 GB, free: 64.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7405, allocations: 0 / 0.7448 GB, free: 64.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/0.7446, allocations: 1.162 MB / 0.7459 GB, free: 63.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.7452, allocations: 99.83 kB / 0.746 GB, free: 63.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009398/0.7546, allocations: 5.204 MB / 0.7511 GB, free: 58.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7562, allocations: 95.41 kB / 0.7512 GB, free: 58.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.7565, allocations: 27.98 kB / 0.7512 GB, free: 58.09 MB / 474.7 MB 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.001069/0.7575, allocations: 307.7 kB / 0.7515 GB, free: 57.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.7579, allocations: 90.88 kB / 0.7516 GB, free: 57.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/0.7636, allocations: 2.109 MB / 0.7536 GB, free: 55.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7636, allocations: 8 kB / 0.7537 GB, free: 55.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/0.7637, allocations: 8 kB / 0.7537 GB, free: 55.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.7637, allocations: 3.984 kB / 0.7537 GB, free: 55.54 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.00748/0.7712, allocations: 3.486 MB / 0.7571 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.7712, allocations: 0 / 0.7571 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.7718, allocations: 83.89 kB / 0.7571 GB, free: 51.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/0.7748, allocations: 0.9858 MB / 0.7581 GB, free: 50.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.7749, allocations: 16 kB / 0.7581 GB, free: 50.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006551/0.7814, allocations: 4.06 MB / 0.7621 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7815, allocations: 0 / 0.7621 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.7874, allocations: 2.787 MB / 0.7648 GB, free: 43.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.7879, allocations: 195.8 kB / 0.765 GB, free: 43.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.7882, allocations: 16 kB / 0.765 GB, free: 43.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.7891, allocations: 64.09 kB / 0.7651 GB, free: 43.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/0.7894, allocations: 128.5 kB / 0.7652 GB, free: 43.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.7894, allocations: 23.94 kB / 0.7652 GB, free: 43.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007693/0.7902, allocations: 0.5303 MB / 0.7657 GB, free: 42.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7902, allocations: 0 / 0.7657 GB, free: 42.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001832/0.7921, allocations: 0.5187 MB / 0.7662 GB, free: 42.35 MB / 474.7 MB 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.0003335/0.7924, allocations: 155 kB / 0.7664 GB, free: 42.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006856/0.7993, allocations: 3.099 MB / 0.7694 GB, free: 38.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7993, allocations: 0 / 0.7694 GB, free: 38.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.8019, allocations: 1.256 MB / 0.7706 GB, free: 37.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.8028, allocations: 67.25 kB / 0.7707 GB, free: 37.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.807, allocations: 2.334 MB / 0.773 GB, free: 35.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.8075, allocations: 1.034 MB / 0.774 GB, free: 34.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004512/0.808, allocations: 68.94 kB / 0.7741 GB, free: 34.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.8082, allocations: 39.44 kB / 0.7741 GB, free: 34.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8082, allocations: 0 / 0.7741 GB, free: 34.07 MB / 474.7 MB Notification: Performance of Templates: time 0.02896/0.8372, allocations: 18.36 MB / 0.792 GB, free: 15.74 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)