Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001144/0.001144, allocations: 174.6 kB / 12.73 MB, free: 2.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.293/1.293, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 89.7 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.447/0.447, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.303e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 69.52 MB / 0.5491 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4342, allocations: 99.74 MB / 0.6465 GB, free: 15.87 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4345, allocations: 79.95 kB / 0.6466 GB, free: 15.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05966/0.4941, allocations: 22.88 MB / 0.669 GB, free: 8.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4942, allocations: 0 / 0.669 GB, free: 8.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.4942, allocations: 16 kB / 0.669 GB, free: 8.711 MB / 490.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.00309/0.4973, allocations: 1.324 MB / 0.6703 GB, free: 7.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4974, allocations: 11.97 kB / 0.6703 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4996, allocations: 398.4 kB / 0.6707 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5007, allocations: 0.6604 MB / 0.6713 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.5009, allocations: 239.5 kB / 0.6715 GB, free: 5.965 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5011, allocations: 72.19 kB / 0.6716 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5023, allocations: 0.7682 MB / 0.6723 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5024, allocations: 0 / 0.6723 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.5024, allocations: 28 kB / 0.6724 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.5025, allocations: 12 kB / 0.6724 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5035, allocations: 0.63 MB / 0.673 GB, free: 4.441 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005049/0.5085, allocations: 3.325 MB / 0.6762 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2749/0.7834, allocations: 2.291 MB / 0.6785 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009093/0.7844, allocations: 412.1 kB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.704e-05/0.7845, allocations: 9.219 kB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.7845, allocations: 42.62 kB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.7845, allocations: 0 / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005058/0.7896, allocations: 1.749 MB / 0.6806 GB, free: 106.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.7897, allocations: 86.23 kB / 0.6807 GB, free: 106.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.7907, allocations: 0.674 MB / 0.6814 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.7908, allocations: 38.48 kB / 0.6814 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.7911, allocations: 412.5 kB / 0.6818 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.7913, allocations: 259.8 kB / 0.6821 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.7914, allocations: 14.91 kB / 0.6821 GB, free: 105.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.7914, allocations: 337.4 kB / 0.6824 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.792, allocations: 352.4 kB / 0.6827 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.7927, allocations: 446.7 kB / 0.6831 GB, free: 105.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.7933, allocations: 390.3 kB / 0.6835 GB, free: 105.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7933, allocations: 0.5625 kB / 0.6835 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00573/0.7991, allocations: 1.994 MB / 0.6855 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7992, allocations: 0.6167 MB / 0.6861 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.7992, allocations: 7.266 kB / 0.6861 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.8029, allocations: 1.015 MB / 0.6871 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.8035, allocations: 109.1 kB / 0.6872 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.8108, allocations: 4.547 MB / 0.6916 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8119, allocations: 120.5 kB / 0.6917 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.8119, allocations: 25.25 kB / 0.6918 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.812, allocations: 3.875 kB / 0.6918 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004811/0.8168, allocations: 1.884 MB / 0.6936 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8168, allocations: 3.812 kB / 0.6936 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/0.8204, allocations: 1.009 MB / 0.6946 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.8209, allocations: 102.4 kB / 0.6947 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.8279, allocations: 4.539 MB / 0.6991 GB, free: 99.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.829, allocations: 100.4 kB / 0.6992 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.829, allocations: 26.47 kB / 0.6992 GB, free: 99.28 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "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 () * 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.0002277/0.8293, allocations: 142.2 kB / 0.6994 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.8294, allocations: 96.36 kB / 0.6995 GB, free: 99.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.8337, allocations: 1.841 MB / 0.7013 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8337, allocations: 7.562 kB / 0.7013 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8338, allocations: 7.641 kB / 0.7013 GB, free: 98.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8338, allocations: 3.141 kB / 0.7013 GB, free: 98.49 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005934/0.8397, allocations: 3.221 MB / 0.7044 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8397, allocations: 0 / 0.7044 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.8402, allocations: 78.72 kB / 0.7045 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.8428, allocations: 0.8316 MB / 0.7053 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.8428, allocations: 18.47 kB / 0.7053 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004904/0.8477, allocations: 3.521 MB / 0.7088 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8478, allocations: 3.953 kB / 0.7088 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/0.8526, allocations: 2.424 MB / 0.7111 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.8529, allocations: 191.5 kB / 0.7113 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.853, allocations: 19.7 kB / 0.7113 GB, free: 91.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.8538, allocations: 70.86 kB / 0.7114 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.8541, allocations: 118.1 kB / 0.7115 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.8541, allocations: 20 kB / 0.7115 GB, free: 91.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005591/0.8547, allocations: 0.5171 MB / 0.712 GB, free: 91.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8547, allocations: 4 kB / 0.712 GB, free: 91.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001273/0.856, allocations: 0.5183 MB / 0.7126 GB, free: 90.54 MB / 490.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 () * 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.0002833/0.8563, allocations: 161.9 kB / 0.7127 GB, free: 90.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006329/0.8626, allocations: 2.827 MB / 0.7155 GB, free: 87.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.8627, allocations: 8.125 kB / 0.7155 GB, free: 87.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.8652, allocations: 1.146 MB / 0.7166 GB, free: 86.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.8661, allocations: 58.64 kB / 0.7167 GB, free: 86.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.8691, allocations: 1.615 MB / 0.7182 GB, free: 85.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.8694, allocations: 1.032 MB / 0.7192 GB, free: 84.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000583/0.87, allocations: 109.3 kB / 0.7193 GB, free: 84.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.8702, allocations: 43.27 kB / 0.7194 GB, free: 84.02 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/0.8702, allocations: 4 kB / 0.7194 GB, free: 84.02 MB / 490.7 MB Notification: Performance of Templates: time 0.02429/0.8945, allocations: 19.79 MB / 0.7387 GB, free: 66.48 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)