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.Network1.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.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007814/0.007814, allocations: 170.5 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.678/1.678, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009691/0.0009689, allocations: 86.86 kB / 269.6 MB, free: 13.34 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.07706/0.07706, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4778/0.4778, allocations: 78.52 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005253, allocations: 17.19 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 69.34 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.5924, allocations: 100.5 MB / 0.6944 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5927, allocations: 87.64 kB / 0.6944 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05956/0.6523, allocations: 21.51 MB / 0.7155 GB, free: 33.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6524, allocations: 0 / 0.7155 GB, free: 33.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.845e-05/0.6524, allocations: 18.66 kB / 0.7155 GB, free: 33.23 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004205/0.6567, allocations: 1.479 MB / 0.7169 GB, free: 32.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.6567, allocations: 13.58 kB / 0.7169 GB, free: 32.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.659, allocations: 395.1 kB / 0.7173 GB, free: 32.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6601, allocations: 0.6156 MB / 0.7179 GB, free: 32.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.6603, allocations: 155.8 kB / 0.7181 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6604, allocations: 56.5 kB / 0.7181 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.662, allocations: 0.8129 MB / 0.7189 GB, free: 31.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.662, allocations: 3.141 kB / 0.7189 GB, free: 31.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.6621, allocations: 22.78 kB / 0.7189 GB, free: 31.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.6621, allocations: 13.47 kB / 0.7189 GB, free: 31.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.6634, allocations: 0.7348 MB / 0.7197 GB, free: 31.94 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.004688/0.6681, allocations: 2.872 MB / 0.7225 GB, free: 31.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.6808, allocations: 3.948 MB / 0.7263 GB, free: 30.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.6811, allocations: 12.05 kB / 0.7263 GB, free: 30.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.6811, allocations: 42.59 kB / 0.7264 GB, free: 30.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 4.288e-06/0.6811, allocations: 4 kB / 0.7264 GB, free: 30.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.0115/0.6926, allocations: 3.959 MB / 0.7302 GB, free: 30.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.6927, allocations: 81.58 kB / 0.7303 GB, free: 30.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6939, allocations: 0.679 MB / 0.731 GB, free: 29.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.694, allocations: 39.61 kB / 0.731 GB, free: 29.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.6943, allocations: 379.6 kB / 0.7314 GB, free: 29.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.6945, allocations: 229.6 kB / 0.7316 GB, free: 29.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.6946, allocations: 14.53 kB / 0.7316 GB, free: 29.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.6947, allocations: 336 kB / 0.7319 GB, free: 29.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.6955, allocations: 476.4 kB / 0.7324 GB, free: 29.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.6963, allocations: 0.5542 MB / 0.7329 GB, free: 29.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.6972, allocations: 0.4931 MB / 0.7334 GB, free: 29.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6972, allocations: 0 / 0.7334 GB, free: 29.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006707/0.7039, allocations: 2.56 MB / 0.7359 GB, free: 28.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.7041, allocations: 0.6135 MB / 0.7365 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.7041, allocations: 3.938 kB / 0.7365 GB, free: 28.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/0.7084, allocations: 1.246 MB / 0.7377 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.7092, allocations: 110.6 kB / 0.7378 GB, free: 28.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.7195, allocations: 5.573 MB / 0.7433 GB, free: 26.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.721, allocations: 127.1 kB / 0.7434 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.721, allocations: 23.03 kB / 0.7434 GB, free: 26.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7211, allocations: 3.969 kB / 0.7434 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006583/0.7277, allocations: 2.418 MB / 0.7458 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7277, allocations: 0 / 0.7458 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.732, allocations: 1.246 MB / 0.747 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.7327, allocations: 104.6 kB / 0.7471 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.743, allocations: 5.583 MB / 0.7526 GB, free: 24.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.7445, allocations: 107.8 kB / 0.7527 GB, free: 24.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.7446, allocations: 23.12 kB / 0.7527 GB, free: 24.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/0.7452, allocations: 298.4 kB / 0.753 GB, free: 24.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.7453, allocations: 90.02 kB / 0.7531 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/0.7511, allocations: 2.399 MB / 0.7554 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.7512, allocations: 7.859 kB / 0.7554 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.7512, allocations: 3.906 kB / 0.7554 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7512, allocations: 3.984 kB / 0.7554 GB, free: 24.08 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.007421/0.7586, allocations: 3.685 MB / 0.759 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.7587, allocations: 4 kB / 0.759 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.7592, allocations: 82.22 kB / 0.7591 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.7623, allocations: 1.073 MB / 0.7601 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.7624, allocations: 19.67 kB / 0.7602 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.7696, allocations: 4.286 MB / 0.7643 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7696, allocations: 4 kB / 0.7643 GB, free: 20.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/0.7764, allocations: 3.085 MB / 0.7674 GB, free: 19.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/0.777, allocations: 178.2 kB / 0.7675 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7772, allocations: 23.55 kB / 0.7676 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/0.778, allocations: 78.28 kB / 0.7676 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.7784, allocations: 122.2 kB / 0.7677 GB, free: 19.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.7784, allocations: 19.62 kB / 0.7678 GB, free: 19.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006896/0.7791, allocations: 0.5384 MB / 0.7683 GB, free: 19.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7791, allocations: 0 / 0.7683 GB, free: 19.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001488/0.7806, allocations: 498.5 kB / 0.7688 GB, free: 19.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/0.7809, allocations: 154.8 kB / 0.7689 GB, free: 19.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006876/0.7878, allocations: 3.157 MB / 0.772 GB, free: 17.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7878, allocations: 0 / 0.772 GB, free: 17.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.7905, allocations: 1.268 MB / 0.7732 GB, free: 17.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.7913, allocations: 62.92 kB / 0.7733 GB, free: 17.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.7947, allocations: 2.139 MB / 0.7754 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.7956, allocations: 0.9994 MB / 0.7764 GB, free: 31.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.796, allocations: 72.14 kB / 0.7764 GB, free: 31.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.7962, allocations: 40.16 kB / 0.7765 GB, free: 31.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7962, allocations: 0 / 0.7765 GB, free: 31.07 MB / 490.7 MB Notification: Performance of Templates: time 0.02615/0.8224, allocations: 18.67 MB / 0.7947 GB, free: 13.9 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)