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") [: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.003087/0.003087, allocations: 179.4 kB / 7.452 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.139/1.139, 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.0008462/0.0008462, allocations: 89.59 kB / 261.1 MB, free: 13.54 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.0673/0.0673, allocations: 12.59 MB / 321.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2789/0.2789, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.096e-06/8.116e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 69.33 MB / 0.5818 GB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/0.4152, allocations: 99.7 MB / 0.6792 GB, free: 8.691 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4155, allocations: 85.78 kB / 0.6793 GB, free: 8.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05473/0.4702, allocations: 20.96 MB / 0.6998 GB, free: 7.383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.543e-05/0.4703, allocations: 19.94 kB / 0.6998 GB, free: 7.363 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003517/0.4738, allocations: 1.302 MB / 0.701 GB, free: 6.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4739, allocations: 15.97 kB / 0.7011 GB, free: 6.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.4764, allocations: 405.2 kB / 0.7014 GB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4776, allocations: 0.6075 MB / 0.702 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.4778, allocations: 134.3 kB / 0.7022 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.478, allocations: 39.89 kB / 0.7022 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/0.4791, allocations: 0.5578 MB / 0.7028 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.4802, allocations: 0.6045 MB / 0.7033 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4803, allocations: 3.984 kB / 0.7033 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.4803, allocations: 0 / 0.7033 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.4804, allocations: 19.94 kB / 0.7034 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.4858, allocations: 2.971 MB / 0.7063 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4872, allocations: 0.6666 MB / 0.7069 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.4877, allocations: 377.1 kB / 0.7073 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.4878, allocations: 4.656 kB / 0.7073 GB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4879, allocations: 46.44 kB / 0.7073 GB, free: 1.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 2.104e-06/0.4879, allocations: 4 kB / 0.7073 GB, free: 1.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.006022/0.4939, allocations: 1.984 MB / 0.7093 GB, free: 15.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.494, allocations: 85.77 kB / 0.7093 GB, free: 15.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.4949, allocations: 0.6245 MB / 0.71 GB, free: 15.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.495, allocations: 25.7 kB / 0.71 GB, free: 15.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4951, allocations: 256.7 kB / 0.7102 GB, free: 14.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.4954, allocations: 227 kB / 0.7104 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.4955, allocations: 0 / 0.7104 GB, free: 14.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4956, allocations: 329 kB / 0.7108 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.4961, allocations: 325.9 kB / 0.7111 GB, free: 14.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.4967, allocations: 416.5 kB / 0.7115 GB, free: 13.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.4973, allocations: 365.8 kB / 0.7118 GB, free: 13.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4973, allocations: 0 / 0.7118 GB, free: 13.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007057/0.5044, allocations: 2.228 MB / 0.714 GB, free: 11.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.5046, allocations: 0.6168 MB / 0.7146 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5047, allocations: 4 kB / 0.7146 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004498/0.5092, allocations: 1.036 MB / 0.7156 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.5099, allocations: 115.1 kB / 0.7157 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008776/0.5187, allocations: 4.117 MB / 0.7197 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.52, allocations: 111.4 kB / 0.7198 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.5201, allocations: 27.69 kB / 0.7199 GB, free: 6.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.5201, allocations: 4 kB / 0.7199 GB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006738/0.5269, allocations: 2.103 MB / 0.7219 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5269, allocations: 4 kB / 0.7219 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004378/0.5313, allocations: 1.036 MB / 0.7229 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.5319, allocations: 99.64 kB / 0.723 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008395/0.5403, allocations: 4.137 MB / 0.7271 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5415, allocations: 111.4 kB / 0.7272 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.5416, allocations: 25.92 kB / 0.7272 GB, free: 0.7695 MB / 458.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: 0 () * Number of discrete 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.0003361/0.542, allocations: 117.4 kB / 0.7273 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.5423, allocations: 86.88 kB / 0.7274 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/0.5482, allocations: 2.06 MB / 0.7294 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5482, allocations: 4 kB / 0.7294 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5482, allocations: 4 kB / 0.7294 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.5482, allocations: 3.984 kB / 0.7294 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007443/0.5557, allocations: 3.206 MB / 0.7326 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5557, allocations: 3.938 kB / 0.7326 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.5563, allocations: 83.89 kB / 0.7326 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.5592, allocations: 0.8724 MB / 0.7335 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.5593, allocations: 4 kB / 0.7335 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.5651, allocations: 3.111 MB / 0.7365 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5652, allocations: 4 kB / 0.7365 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006437/0.5716, allocations: 2.641 MB / 0.7391 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.572, allocations: 183.8 kB / 0.7393 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.5722, allocations: 4 kB / 0.7393 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.5732, allocations: 75.94 kB / 0.7394 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5734, allocations: 68.53 kB / 0.7394 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.5735, allocations: 16 kB / 0.7395 GB, free: 5.094 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007261/0.5742, allocations: 487.2 kB / 0.7399 GB, free: 4.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001465/0.5757, allocations: 451.2 kB / 0.7403 GB, free: 4.18 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 () * 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.0002776/0.576, allocations: 129.9 kB / 0.7405 GB, free: 4.047 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007116/0.5831, allocations: 2.707 MB / 0.7431 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5832, allocations: 0 / 0.7431 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.5859, allocations: 1.097 MB / 0.7442 GB, free: 76 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.5869, allocations: 55.66 kB / 0.7442 GB, free: 20 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.5917, allocations: 1.528 MB / 0.7457 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/0.5926, allocations: 1.042 MB / 0.7467 GB, free: 13.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5926, allocations: 0 / 0.7467 GB, free: 13.38 MB / 490.7 MB Notification: Performance of Templates: time 0.03467/0.6273, allocations: 21.69 MB / 0.7679 GB, free: 7.703 MB / 0.4948 GB 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)