Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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.001667/0.001667, allocations: 189.3 kB / 7.464 MB, free: 2.246 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.019/1.019, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008571/0.0008571, allocations: 109.4 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3465/0.3465, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.839e-06, allocations: 0 / 484.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 69.35 MB / 0.5408 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09238/0.3016, allocations: 100.3 MB / 0.6387 GB, free: 4.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.3018, allocations: 79.95 kB / 0.6388 GB, free: 4.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0728/0.3746, allocations: 29.27 MB / 0.6673 GB, free: 7.102 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.27e-05/0.3747, allocations: 24 kB / 0.6674 GB, free: 7.078 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003159/0.3778, allocations: 1.504 MB / 0.6688 GB, free: 5.527 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.3779, allocations: 8.031 kB / 0.6688 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.3801, allocations: 433.9 kB / 0.6693 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3813, allocations: 0.8643 MB / 0.6701 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.3816, allocations: 219.5 kB / 0.6703 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.3817, allocations: 51.89 kB / 0.6704 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001214/0.3829, allocations: 0.7524 MB / 0.6711 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.3841, allocations: 0.7625 MB / 0.6718 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3842, allocations: 3.984 kB / 0.6718 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.3842, allocations: 4 kB / 0.6718 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3843, allocations: 12 kB / 0.6719 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/0.5114, allocations: 3.685 MB / 0.6755 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.5129, allocations: 0.9328 MB / 0.6764 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.5135, allocations: 460.1 kB / 0.6768 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.5136, allocations: 21.47 kB / 0.6768 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.5136, allocations: 43.25 kB / 0.6769 GB, free: 142 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.5136, allocations: 0 / 0.6769 GB, free: 142 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00535/0.519, allocations: 2.182 MB / 0.679 GB, free: 142 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.519, allocations: 117.4 kB / 0.6791 GB, free: 141.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000926/0.52, allocations: 0.8646 MB / 0.68 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.52, allocations: 29.08 kB / 0.68 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5202, allocations: 298.3 kB / 0.6803 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.5204, allocations: 264.7 kB / 0.6805 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.5204, allocations: 0 / 0.6805 GB, free: 141.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.5205, allocations: 335.6 kB / 0.6808 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.521, allocations: 423.4 kB / 0.6812 GB, free: 141.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.5216, allocations: 0.509 MB / 0.6817 GB, free: 141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.5222, allocations: 466.3 kB / 0.6822 GB, free: 141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5222, allocations: 3.828 kB / 0.6822 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006033/0.5283, allocations: 2.425 MB / 0.6846 GB, free: 140.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.5284, allocations: 0.6225 MB / 0.6852 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5284, allocations: 0 / 0.6852 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.5322, allocations: 1.038 MB / 0.6862 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.533, allocations: 162.3 kB / 0.6863 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/0.54, allocations: 4.128 MB / 0.6904 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5412, allocations: 163.4 kB / 0.6905 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.5413, allocations: 22.22 kB / 0.6905 GB, free: 138.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-06/0.5413, allocations: 1.719 kB / 0.6905 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005891/0.5472, allocations: 2.289 MB / 0.6928 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5473, allocations: 3.969 kB / 0.6928 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/0.5509, allocations: 1.041 MB / 0.6938 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.5517, allocations: 143.7 kB / 0.6939 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/0.5585, allocations: 4.128 MB / 0.698 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.5597, allocations: 142.1 kB / 0.6981 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.5598, allocations: 32.59 kB / 0.6981 GB, free: 137.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 (79): * Single equations (assignments): 76 * 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.0001999/0.56, allocations: 120 kB / 0.6982 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.5602, allocations: 105.7 kB / 0.6983 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/0.5657, allocations: 2.262 MB / 0.7006 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5658, allocations: 14.73 kB / 0.7006 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5658, allocations: 3.531 kB / 0.7006 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5658, allocations: 5.109 kB / 0.7006 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007092/0.5729, allocations: 3.706 MB / 0.7042 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5729, allocations: 3.938 kB / 0.7042 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.5737, allocations: 112.8 kB / 0.7043 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.5764, allocations: 0.8691 MB / 0.7052 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.5766, allocations: 12.41 kB / 0.7052 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/0.5816, allocations: 3.115 MB / 0.7082 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.5816, allocations: 5.281 kB / 0.7082 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006017/0.5876, allocations: 2.933 MB / 0.7111 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5878, allocations: 223.2 kB / 0.7113 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.588, allocations: 13.38 kB / 0.7113 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.5892, allocations: 118.1 kB / 0.7114 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.5894, allocations: 66.86 kB / 0.7115 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.5895, allocations: 25.7 kB / 0.7115 GB, free: 133.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006891/0.5902, allocations: 0.6575 MB / 0.7121 GB, free: 132.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001145/0.5913, allocations: 0.4945 MB / 0.7126 GB, free: 132.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0002143/0.5915, allocations: 146.1 kB / 0.7128 GB, free: 132.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00585/0.5974, allocations: 3.02 MB / 0.7157 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5974, allocations: 0 / 0.7157 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.5997, allocations: 1.192 MB / 0.7169 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.6002, allocations: 85.47 kB / 0.717 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.6041, allocations: 1.97 MB / 0.7189 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.6048, allocations: 1.167 MB / 0.72 GB, free: 129.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6048, allocations: 0 / 0.72 GB, free: 129.1 MB / 490.7 MB Notification: Performance of Templates: time 0.03019/0.635, allocations: 25.88 MB / 0.7453 GB, free: 122.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)