Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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_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 4.0.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 178.3 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 229.3 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 103.3 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4104/0.4104, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.49e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 69.35 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3472, allocations: 98.62 MB / 0.637 GB, free: 6.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3475, allocations: 75.95 kB / 0.6371 GB, free: 6.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0666/0.4141, allocations: 22.47 MB / 0.659 GB, free: 15.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.826e-05/0.4142, allocations: 25.31 kB / 0.6591 GB, free: 15.44 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003675/0.4179, allocations: 1.348 MB / 0.6604 GB, free: 14.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.4179, allocations: 15.97 kB / 0.6604 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.4207, allocations: 410.2 kB / 0.6608 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.4219, allocations: 0.637 MB / 0.6614 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.4222, allocations: 197.8 kB / 0.6616 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.4223, allocations: 36 kB / 0.6616 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/0.4235, allocations: 0.5806 MB / 0.6622 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4248, allocations: 0.6525 MB / 0.6628 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4249, allocations: 0 / 0.6628 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.4249, allocations: 0 / 0.6628 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.425, allocations: 19.91 kB / 0.6629 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006016/0.431, allocations: 3.254 MB / 0.666 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4321, allocations: 0.4952 MB / 0.6665 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.4328, allocations: 390.9 kB / 0.6669 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.949e-05/0.4329, allocations: 12.59 kB / 0.6669 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4329, allocations: 43.2 kB / 0.6669 GB, free: 7.066 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.4329, allocations: 0 / 0.6669 GB, free: 7.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006556/0.4395, allocations: 2.036 MB / 0.6689 GB, free: 5.012 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4395, allocations: 85.77 kB / 0.669 GB, free: 4.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.4405, allocations: 0.6253 MB / 0.6696 GB, free: 4.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.4405, allocations: 25.7 kB / 0.6697 GB, free: 4.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4407, allocations: 272.3 kB / 0.6699 GB, free: 3.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.441, allocations: 240.4 kB / 0.6701 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.441, allocations: 8 kB / 0.6701 GB, free: 3.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4412, allocations: 333.9 kB / 0.6705 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.4418, allocations: 341.5 kB / 0.6708 GB, free: 3.066 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.4424, allocations: 434.5 kB / 0.6712 GB, free: 2.613 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.4431, allocations: 376.9 kB / 0.6716 GB, free: 2.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4431, allocations: 0 / 0.6716 GB, free: 2.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.1437/0.5868, allocations: 2.272 MB / 0.6738 GB, free: 144.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5869, allocations: 0.7004 MB / 0.6745 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.587, allocations: 0 / 0.6745 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/0.5914, allocations: 1.072 MB / 0.6755 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.5921, allocations: 110.9 kB / 0.6756 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/0.6006, allocations: 4.362 MB / 0.6799 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6017, allocations: 119 kB / 0.68 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.6018, allocations: 30.23 kB / 0.68 GB, free: 142.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-06/0.6018, allocations: 6.406 kB / 0.68 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006657/0.6085, allocations: 2.147 MB / 0.6821 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6085, allocations: 3.688 kB / 0.6821 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.6128, allocations: 1.08 MB / 0.6832 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.6133, allocations: 100.9 kB / 0.6833 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.6218, allocations: 4.361 MB / 0.6875 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.6228, allocations: 109.9 kB / 0.6876 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.6229, allocations: 25.91 kB / 0.6877 GB, free: 141.2 MB / 490.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.0002391/0.6232, allocations: 120.6 kB / 0.6878 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6233, allocations: 90.31 kB / 0.6879 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.6292, allocations: 2.109 MB / 0.6899 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6292, allocations: 9.438 kB / 0.6899 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6292, allocations: 8.594 kB / 0.6899 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6292, allocations: 7.422 kB / 0.69 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/0.6364, allocations: 3.298 MB / 0.6932 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6365, allocations: 3.844 kB / 0.6932 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.6371, allocations: 84.42 kB / 0.6933 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/0.64, allocations: 0.9113 MB / 0.6942 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.6401, allocations: 5.406 kB / 0.6942 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.6463, allocations: 3.381 MB / 0.6975 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6463, allocations: 4.688 kB / 0.6975 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006908/0.6532, allocations: 2.708 MB / 0.7001 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.6534, allocations: 186.1 kB / 0.7003 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6536, allocations: 2.219 kB / 0.7003 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.6546, allocations: 80.77 kB / 0.7004 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.6548, allocations: 78.34 kB / 0.7004 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.6548, allocations: 16.66 kB / 0.7005 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005804/0.6554, allocations: 493.5 kB / 0.7009 GB, free: 138.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001338/0.6568, allocations: 455.9 kB / 0.7014 GB, free: 138.3 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: 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.0002387/0.657, allocations: 143.8 kB / 0.7015 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007136/0.6642, allocations: 2.83 MB / 0.7043 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6642, allocations: 0 / 0.7043 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002848/0.667, allocations: 1.151 MB / 0.7054 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.6675, allocations: 67.55 kB / 0.7054 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.6715, allocations: 1.607 MB / 0.707 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.6721, allocations: 1.056 MB / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6721, allocations: 0 / 0.708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02909/0.7012, allocations: 22.51 MB / 0.73 GB, free: 134.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)