Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.002464/0.002464, allocations: 178.3 kB / 7.454 MB, free: 2.508 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.204/1.204, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.001047/0.001047, allocations: 91.12 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.418/0.418, allocations: 78.06 MB / 409 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.889e-06, allocations: 0 / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2426, allocations: 69.34 MB / 0.5407 GB, free: 21.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.3593, allocations: 100.3 MB / 0.6387 GB, free: 4.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3596, allocations: 79.94 kB / 0.6387 GB, free: 4.539 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08767/0.4473, allocations: 29.27 MB / 0.6673 GB, free: 7.074 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.4475, allocations: 28.12 kB / 0.6673 GB, free: 7.047 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.00444/0.4519, allocations: 1.5 MB / 0.6688 GB, free: 5.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.452, allocations: 8.031 kB / 0.6688 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.4546, allocations: 430 kB / 0.6692 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.4563, allocations: 0.8721 MB / 0.6701 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.4567, allocations: 223.5 kB / 0.6703 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.4569, allocations: 43.91 kB / 0.6703 GB, free: 3.844 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/0.4584, allocations: 0.7563 MB / 0.6711 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.4599, allocations: 0.7587 MB / 0.6718 GB, free: 2.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.4599, allocations: 0 / 0.6718 GB, free: 2.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.46, allocations: 7.875 kB / 0.6718 GB, free: 2.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4601, allocations: 19.98 kB / 0.6718 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1498/0.6098, allocations: 3.678 MB / 0.6754 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.6115, allocations: 0.9391 MB / 0.6763 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.6122, allocations: 461.4 kB / 0.6768 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.6123, allocations: 18.16 kB / 0.6768 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.6123, allocations: 45.25 kB / 0.6768 GB, free: 142.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.955e-06/0.6123, allocations: 0 / 0.6768 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00601/0.6183, allocations: 2.178 MB / 0.679 GB, free: 142.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6184, allocations: 119 kB / 0.6791 GB, free: 142.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6194, allocations: 0.8617 MB / 0.6799 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.6196, allocations: 29.64 kB / 0.68 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6197, allocations: 301.3 kB / 0.6802 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.6199, allocations: 268.1 kB / 0.6805 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.62, allocations: 0 / 0.6805 GB, free: 141.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.6201, allocations: 338.1 kB / 0.6808 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.6207, allocations: 419.4 kB / 0.6812 GB, free: 141.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.6214, allocations: 0.5115 MB / 0.6817 GB, free: 141.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.6221, allocations: 457.4 kB / 0.6822 GB, free: 141.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6221, allocations: 0 / 0.6822 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006908/0.629, allocations: 2.438 MB / 0.6845 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.98e-05/0.6291, allocations: 0.6206 MB / 0.6851 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6291, allocations: 3.5 kB / 0.6851 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/0.6335, allocations: 1.038 MB / 0.6862 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.6345, allocations: 157.1 kB / 0.6863 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008107/0.6426, allocations: 4.123 MB / 0.6903 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.6442, allocations: 163.5 kB / 0.6905 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.6443, allocations: 27.41 kB / 0.6905 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.6443, allocations: 6.5 kB / 0.6905 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006534/0.6508, allocations: 2.276 MB / 0.6927 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6508, allocations: 0 / 0.6927 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/0.655, allocations: 1.043 MB / 0.6938 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.6558, allocations: 143.8 kB / 0.6939 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007686/0.6635, allocations: 4.127 MB / 0.6979 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.6649, allocations: 145.6 kB / 0.6981 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.665, allocations: 30.91 kB / 0.6981 GB, free: 137.6 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.0002475/0.6653, allocations: 118.2 kB / 0.6982 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.6655, allocations: 110.3 kB / 0.6983 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006306/0.6718, allocations: 2.265 MB / 0.7005 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6719, allocations: 7.594 kB / 0.7005 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6719, allocations: 4.625 kB / 0.7005 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6719, allocations: 6.984 kB / 0.7005 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008028/0.6799, allocations: 3.717 MB / 0.7042 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6799, allocations: 0 / 0.7042 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.6808, allocations: 114.4 kB / 0.7043 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/0.6839, allocations: 0.8676 MB / 0.7051 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.76e-05/0.684, allocations: 16.75 kB / 0.7051 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.6897, allocations: 3.114 MB / 0.7082 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6897, allocations: 5.25 kB / 0.7082 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007147/0.6968, allocations: 2.935 MB / 0.7111 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.6973, allocations: 228.1 kB / 0.7113 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.6975, allocations: 6.938 kB / 0.7113 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6988, allocations: 120.5 kB / 0.7114 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.6991, allocations: 74.27 kB / 0.7115 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.6991, allocations: 22.34 kB / 0.7115 GB, free: 133.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008261/0.7, allocations: 0.6579 MB / 0.7121 GB, free: 133.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001446/0.7014, allocations: 0.4905 MB / 0.7126 GB, free: 133.1 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.0002585/0.7017, allocations: 142.4 kB / 0.7127 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006978/0.7087, allocations: 3.019 MB / 0.7157 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7087, allocations: 0 / 0.7157 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.7114, allocations: 1.19 MB / 0.7169 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.712, allocations: 79.41 kB / 0.7169 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.7167, allocations: 1.975 MB / 0.7189 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/0.7175, allocations: 1.168 MB / 0.72 GB, free: 129.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7175, allocations: 0 / 0.72 GB, free: 129.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03627/0.7537, allocations: 25.88 MB / 0.7453 GB, free: 122.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)