Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") [: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.002923/0.002923, allocations: 181.8 kB / 7.455 MB, free: 2.516 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.177/1.177, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009421/0.0009421, allocations: 98.47 kB / 261.1 MB, free: 13.61 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.06538/0.06538, allocations: 12.59 MB / 321.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.05 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.791e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 69.31 MB / 0.5818 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.4307, allocations: 100.2 MB / 0.6797 GB, free: 8.016 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.4309, allocations: 82.11 kB / 0.6797 GB, free: 7.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05835/0.4892, allocations: 21.79 MB / 0.701 GB, free: 6.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.4893, allocations: 20 kB / 0.701 GB, free: 6.035 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003681/0.493, allocations: 1.355 MB / 0.7024 GB, free: 4.707 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4931, allocations: 11.97 kB / 0.7024 GB, free: 4.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.4957, allocations: 405.3 kB / 0.7028 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.497, allocations: 0.6565 MB / 0.7034 GB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.4972, allocations: 189.8 kB / 0.7036 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.4974, allocations: 43.91 kB / 0.7036 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/0.4986, allocations: 0.5831 MB / 0.7042 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.4999, allocations: 0.6506 MB / 0.7048 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4999, allocations: 3.984 kB / 0.7048 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.5, allocations: 0 / 0.7048 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.5, allocations: 16 kB / 0.7049 GB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/0.5057, allocations: 3.246 MB / 0.708 GB, free: 168 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5069, allocations: 0.4944 MB / 0.7085 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.5075, allocations: 390.7 kB / 0.7089 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.5076, allocations: 20.5 kB / 0.7089 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5076, allocations: 42.28 kB / 0.7089 GB, free: 15.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 2.385e-06/0.5076, allocations: 0 / 0.7089 GB, free: 15.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.006128/0.5137, allocations: 2.033 MB / 0.7109 GB, free: 13.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5138, allocations: 88.02 kB / 0.711 GB, free: 13.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.5149, allocations: 0.6216 MB / 0.7116 GB, free: 13.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.515, allocations: 29.7 kB / 0.7116 GB, free: 13.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5153, allocations: 276.2 kB / 0.7119 GB, free: 13.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.5156, allocations: 237.5 kB / 0.7121 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.5156, allocations: 0 / 0.7121 GB, free: 12.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5157, allocations: 336.4 kB / 0.7125 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.5163, allocations: 335.8 kB / 0.7128 GB, free: 12.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.5169, allocations: 440.2 kB / 0.7132 GB, free: 12.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.5175, allocations: 379.4 kB / 0.7136 GB, free: 11.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5175, allocations: 3.906 kB / 0.7136 GB, free: 11.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00695/0.5245, allocations: 2.264 MB / 0.7158 GB, free: 10.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.5248, allocations: 0.7148 MB / 0.7165 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5248, allocations: 0 / 0.7165 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004535/0.5293, allocations: 1.072 MB / 0.7175 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.5301, allocations: 115.5 kB / 0.7176 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009125/0.5392, allocations: 4.354 MB / 0.7219 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5405, allocations: 123.3 kB / 0.722 GB, free: 4.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.5406, allocations: 27.55 kB / 0.722 GB, free: 4.734 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.5407, allocations: 4 kB / 0.722 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006923/0.5476, allocations: 2.147 MB / 0.7241 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5476, allocations: 4 kB / 0.7241 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/0.5521, allocations: 1.078 MB / 0.7252 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.5528, allocations: 103.6 kB / 0.7253 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/0.5618, allocations: 4.361 MB / 0.7295 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.563, allocations: 107.4 kB / 0.7296 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.5632, allocations: 26 kB / 0.7297 GB, free: 14.46 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.5636, allocations: 124.7 kB / 0.7298 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5638, allocations: 90.86 kB / 0.7299 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/0.5698, allocations: 2.111 MB / 0.7319 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5698, allocations: 8 kB / 0.7319 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5698, allocations: 4 kB / 0.7319 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5698, allocations: 3.984 kB / 0.732 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.5778, allocations: 3.315 MB / 0.7352 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.5778, allocations: 0 / 0.7352 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.5785, allocations: 83.89 kB / 0.7353 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.5816, allocations: 0.9041 MB / 0.7362 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/0.5817, allocations: 8 kB / 0.7362 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.5883, allocations: 3.389 MB / 0.7395 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5883, allocations: 4 kB / 0.7395 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00688/0.5952, allocations: 2.699 MB / 0.7421 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.5955, allocations: 191.8 kB / 0.7423 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5957, allocations: 4 kB / 0.7423 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5967, allocations: 79.92 kB / 0.7424 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.597, allocations: 72.45 kB / 0.7424 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.597, allocations: 16 kB / 0.7425 GB, free: 1.965 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006872/0.5977, allocations: 487.2 kB / 0.7429 GB, free: 1.496 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001488/0.5992, allocations: 471.1 kB / 0.7434 GB, free: 1.035 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.5995, allocations: 143 kB / 0.7435 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007317/0.6068, allocations: 2.841 MB / 0.7463 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6069, allocations: 448 / 0.7463 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.6098, allocations: 1.148 MB / 0.7474 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.6105, allocations: 55.58 kB / 0.7475 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.6152, allocations: 1.616 MB / 0.749 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.616, allocations: 1.057 MB / 0.7501 GB, free: 9.93 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.616, allocations: 3.938 kB / 0.7501 GB, free: 9.926 MB / 490.7 MB Notification: Performance of Templates: time 0.03456/0.6506, allocations: 22.52 MB / 0.7721 GB, free: 3.418 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)