Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006711/0.006711, allocations: 172 kB / 15.11 MB, free: 5.969 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.73/1.73, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009472/0.0009472, allocations: 94.84 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.08648/0.08648, allocations: 12.6 MB / 330.5 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.4506/0.4506, allocations: 78.52 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005267, allocations: 18.97 kB / 0.5285 GB, free: 35.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6511, allocations: 102.7 MB / 0.6964 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.6514, allocations: 85.81 kB / 0.6965 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0776/0.729, allocations: 29.26 MB / 0.7251 GB, free: 33.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7291, allocations: 0 / 0.7251 GB, free: 33.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.183e-05/0.7292, allocations: 27.59 kB / 0.7251 GB, free: 33.41 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004604/0.7338, allocations: 1.812 MB / 0.7269 GB, free: 32.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7338, allocations: 15.67 kB / 0.7269 GB, free: 32.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.7363, allocations: 417 kB / 0.7273 GB, free: 32.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.7384, allocations: 0.9589 MB / 0.7282 GB, free: 32.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.7386, allocations: 244.4 kB / 0.7285 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7388, allocations: 68.19 kB / 0.7285 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.7405, allocations: 1.001 MB / 0.7295 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7405, allocations: 3.906 kB / 0.7295 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.7406, allocations: 26.22 kB / 0.7296 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.7406, allocations: 19.55 kB / 0.7296 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.7424, allocations: 0.9646 MB / 0.7305 GB, free: 31.8 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.0056/0.748, allocations: 3.625 MB / 0.7341 GB, free: 30.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.7614, allocations: 4.283 MB / 0.7382 GB, free: 30.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.7616, allocations: 16.39 kB / 0.7383 GB, free: 30.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.7616, allocations: 42.75 kB / 0.7383 GB, free: 30.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.397e-06/0.7616, allocations: 0 / 0.7383 GB, free: 30.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01359/0.7752, allocations: 4.686 MB / 0.7429 GB, free: 29.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.7753, allocations: 111.3 kB / 0.743 GB, free: 29.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.7773, allocations: 1.027 MB / 0.744 GB, free: 28.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.7774, allocations: 36.7 kB / 0.744 GB, free: 28.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.7777, allocations: 483.3 kB / 0.7445 GB, free: 28.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.7779, allocations: 272.8 kB / 0.7447 GB, free: 28.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.778, allocations: 14.62 kB / 0.7448 GB, free: 28.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.7781, allocations: 339.8 kB / 0.7451 GB, free: 28.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7791, allocations: 0.5764 MB / 0.7456 GB, free: 27.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.7802, allocations: 0.6748 MB / 0.7463 GB, free: 27.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7812, allocations: 0.6108 MB / 0.7469 GB, free: 27.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7812, allocations: 3.906 kB / 0.7469 GB, free: 27.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007049/0.7883, allocations: 2.817 MB / 0.7496 GB, free: 26.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.7885, allocations: 0.6228 MB / 0.7503 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7885, allocations: 0 / 0.7503 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.7927, allocations: 1.235 MB / 0.7515 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.7935, allocations: 162.9 kB / 0.7516 GB, free: 25.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00989/0.8034, allocations: 5.582 MB / 0.7571 GB, free: 23.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.8051, allocations: 172.2 kB / 0.7572 GB, free: 23.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8052, allocations: 30.2 kB / 0.7573 GB, free: 23.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.8052, allocations: 7.938 kB / 0.7573 GB, free: 23.58 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006717/0.812, allocations: 2.634 MB / 0.7598 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.812, allocations: 0 / 0.7598 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/0.8161, allocations: 1.241 MB / 0.7611 GB, free: 22.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.817, allocations: 152.1 kB / 0.7612 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009636/0.8267, allocations: 5.578 MB / 0.7666 GB, free: 20.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.8283, allocations: 154.8 kB / 0.7668 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.8284, allocations: 26.56 kB / 0.7668 GB, free: 20.25 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0007123/0.8291, allocations: 354 kB / 0.7672 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.8294, allocations: 116.7 kB / 0.7673 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/0.8356, allocations: 2.638 MB / 0.7698 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8357, allocations: 15.75 kB / 0.7699 GB, free: 19.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.8357, allocations: 11.86 kB / 0.7699 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8357, allocations: 3.984 kB / 0.7699 GB, free: 19.25 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.00807/0.8438, allocations: 4.238 MB / 0.774 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8438, allocations: 0 / 0.774 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.8446, allocations: 117.8 kB / 0.7741 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.8476, allocations: 1.073 MB / 0.7752 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/0.8477, allocations: 25.89 kB / 0.7752 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.8549, allocations: 4.29 MB / 0.7794 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8549, allocations: 0 / 0.7794 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/0.8626, allocations: 3.444 MB / 0.7827 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.8631, allocations: 232 kB / 0.783 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.8633, allocations: 20.25 kB / 0.783 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.8644, allocations: 129.8 kB / 0.7831 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.8648, allocations: 132.9 kB / 0.7832 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.8649, allocations: 20.88 kB / 0.7833 GB, free: 12.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.8664, allocations: 0.8118 MB / 0.7841 GB, free: 11.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.8664, allocations: 112 / 0.7841 GB, free: 11.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001589/0.868, allocations: 0.5616 MB / 0.7846 GB, free: 11.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * 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.0002863/0.8683, allocations: 143.7 kB / 0.7847 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007401/0.8757, allocations: 3.501 MB / 0.7882 GB, free: 7.488 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8757, allocations: 0 / 0.7882 GB, free: 7.488 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.8785, allocations: 1.381 MB / 0.7895 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.8794, allocations: 96.58 kB / 0.7896 GB, free: 5.957 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.8834, allocations: 2.721 MB / 0.7923 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.8838, allocations: 1.113 MB / 0.7933 GB, free: 2.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006331/0.8845, allocations: 125.9 kB / 0.7935 GB, free: 1.945 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.8847, allocations: 63.36 kB / 0.7935 GB, free: 1.883 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8848, allocations: 0 / 0.7935 GB, free: 1.883 MB / 474.7 MB Notification: Performance of Templates: time 0.03362/0.9184, allocations: 21.59 MB / 0.8146 GB, free: 12.32 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)