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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002815/0.002815, allocations: 181.7 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009019/0.0009018, allocations: 88.61 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06378/0.06378, allocations: 12.58 MB / 321.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2737/0.2737, allocations: 78.05 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.911e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 69.31 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3931, allocations: 99.91 MB / 0.6794 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.3933, allocations: 80.39 kB / 0.6795 GB, free: 8.242 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05512/0.4485, allocations: 21.51 MB / 0.7005 GB, free: 6.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.143e-05/0.4486, allocations: 19.94 kB / 0.7005 GB, free: 6.555 MB / 442.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.003321/0.4519, allocations: 1.356 MB / 0.7018 GB, free: 5.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4519, allocations: 11.97 kB / 0.7018 GB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.4544, allocations: 419.3 kB / 0.7022 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4556, allocations: 0.6619 MB / 0.7029 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.4559, allocations: 218.3 kB / 0.7031 GB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.456, allocations: 43.89 kB / 0.7031 GB, free: 4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001018/0.457, allocations: 0.5928 MB / 0.7037 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4582, allocations: 0.6719 MB / 0.7044 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4582, allocations: 0 / 0.7044 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.4583, allocations: 4 kB / 0.7044 GB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4583, allocations: 16 kB / 0.7044 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005467/0.4638, allocations: 3.419 MB / 0.7077 GB, free: 460 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.4652, allocations: 0.7112 MB / 0.7084 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.4658, allocations: 389.8 kB / 0.7088 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/0.4659, allocations: 12.22 kB / 0.7088 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4659, allocations: 39.09 kB / 0.7088 GB, free: 15.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.4659, allocations: 0 / 0.7088 GB, free: 15.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=72): time 0.004916/0.4709, allocations: 1.773 MB / 0.7106 GB, free: 14.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.4709, allocations: 81.77 kB / 0.7107 GB, free: 14.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.4718, allocations: 0.6282 MB / 0.7113 GB, free: 13.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.472, allocations: 25.7 kB / 0.7113 GB, free: 13.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.4722, allocations: 287.7 kB / 0.7116 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.4725, allocations: 245.6 kB / 0.7118 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.4725, allocations: 4 kB / 0.7118 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4727, allocations: 333 kB / 0.7121 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.4732, allocations: 343.4 kB / 0.7124 GB, free: 12.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.4738, allocations: 426.7 kB / 0.7129 GB, free: 12.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.4744, allocations: 377.8 kB / 0.7132 GB, free: 12.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4745, allocations: 3.984 kB / 0.7132 GB, free: 12.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005999/0.4805, allocations: 1.989 MB / 0.7152 GB, free: 10.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.4808, allocations: 0.6166 MB / 0.7158 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4808, allocations: 4 kB / 0.7158 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004475/0.4853, allocations: 1.023 MB / 0.7168 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.4861, allocations: 115.4 kB / 0.7169 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008454/0.4945, allocations: 4.136 MB / 0.7209 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.4958, allocations: 103.3 kB / 0.721 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.4959, allocations: 23.55 kB / 0.721 GB, free: 5.719 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4959, allocations: 7.906 kB / 0.721 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005781/0.5017, allocations: 1.865 MB / 0.7229 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5017, allocations: 0 / 0.7229 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/0.5062, allocations: 1.038 MB / 0.7239 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.507, allocations: 103.6 kB / 0.724 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.5159, allocations: 4.136 MB / 0.728 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.5172, allocations: 91.39 kB / 0.7281 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5173, allocations: 27.25 kB / 0.7281 GB, free: 15.94 MB / 474.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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.0004618/0.5178, allocations: 125.7 kB / 0.7283 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.5181, allocations: 94.95 kB / 0.7283 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.5234, allocations: 1.828 MB / 0.7301 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5234, allocations: 8 kB / 0.7301 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/0.5235, allocations: 8 kB / 0.7301 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.5235, allocations: 3.984 kB / 0.7301 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007733/0.5312, allocations: 3.038 MB / 0.7331 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5313, allocations: 0 / 0.7331 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.532, allocations: 87.95 kB / 0.7332 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/0.5352, allocations: 0.8569 MB / 0.734 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.5354, allocations: 4 kB / 0.734 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008097/0.5435, allocations: 3.274 MB / 0.7372 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5435, allocations: 4 kB / 0.7372 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006592/0.5501, allocations: 2.426 MB / 0.7396 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.5506, allocations: 188.4 kB / 0.7398 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.551, allocations: 4 kB / 0.7398 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/0.552, allocations: 63.95 kB / 0.7399 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.5522, allocations: 64.45 kB / 0.7399 GB, free: 4.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/0.5523, allocations: 20 kB / 0.7399 GB, free: 4.465 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007811/0.5531, allocations: 491.1 kB / 0.7404 GB, free: 3.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001662/0.5548, allocations: 474.9 kB / 0.7409 GB, free: 3.527 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 () * 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.0003123/0.5551, allocations: 135.1 kB / 0.741 GB, free: 3.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007131/0.5623, allocations: 2.696 MB / 0.7436 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5623, allocations: 0 / 0.7436 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.5651, allocations: 1.09 MB / 0.7447 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.566, allocations: 55.23 kB / 0.7447 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.5709, allocations: 1.652 MB / 0.7463 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.5719, allocations: 1.066 MB / 0.7474 GB, free: 12.6 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5719, allocations: 3.938 kB / 0.7474 GB, free: 12.59 MB / 490.7 MB Notification: Performance of Templates: time 0.03713/0.6091, allocations: 21.66 MB / 0.7685 GB, free: 6.961 MB / 0.4948 GB 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)