Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") [: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.003213/0.003214, allocations: 182.2 kB / 7.457 MB, free: 2.484 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.216/1.216, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0009529/0.0009529, allocations: 102.4 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4049/0.4049, allocations: 78.06 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.263e-06, allocations: 0 / 484.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 69.35 MB / 0.5407 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4028, allocations: 108.8 MB / 0.647 GB, free: 11.95 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.403, allocations: 79.95 kB / 0.6471 GB, free: 11.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3023/0.7053, allocations: 45.12 MB / 0.6911 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001277/0.7055, allocations: 39.81 kB / 0.6912 GB, free: 105.9 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004643/0.7102, allocations: 2.092 MB / 0.6932 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.7102, allocations: 11.59 kB / 0.6932 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.7125, allocations: 455 kB / 0.6937 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.7146, allocations: 1.312 MB / 0.6949 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.7149, allocations: 349.6 kB / 0.6953 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.7152, allocations: 77.28 kB / 0.6953 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001976/0.7171, allocations: 1.181 MB / 0.6965 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.719, allocations: 1.207 MB / 0.6977 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.7191, allocations: 3.938 kB / 0.6977 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7192, allocations: 4 kB / 0.6977 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.7192, allocations: 27.31 kB / 0.6977 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.7295, allocations: 5.923 MB / 0.7035 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.7317, allocations: 1.056 MB / 0.7045 GB, free: 98.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.7328, allocations: 0.6488 MB / 0.7052 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.7329, allocations: 25.56 kB / 0.7052 GB, free: 98.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.733, allocations: 49.25 kB / 0.7052 GB, free: 98.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.817e-06/0.733, allocations: 4 kB / 0.7052 GB, free: 98.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01238/0.7454, allocations: 5.13 MB / 0.7102 GB, free: 96.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.7454, allocations: 230.5 kB / 0.7105 GB, free: 95.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.7475, allocations: 1.267 MB / 0.7117 GB, free: 95.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.7478, allocations: 26.89 kB / 0.7117 GB, free: 95.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.7481, allocations: 448.7 kB / 0.7122 GB, free: 94.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006608/0.7488, allocations: 438.3 kB / 0.7126 GB, free: 94.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7489, allocations: 1.062 kB / 0.7126 GB, free: 94.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.749, allocations: 360.7 kB / 0.7129 GB, free: 94.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.7501, allocations: 0.6484 MB / 0.7136 GB, free: 93.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7513, allocations: 0.8186 MB / 0.7144 GB, free: 93.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7527, allocations: 0.7291 MB / 0.7151 GB, free: 93.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7527, allocations: 6.312 kB / 0.7151 GB, free: 93.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007262/0.7599, allocations: 2.907 MB / 0.7179 GB, free: 90.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.7601, allocations: 1.001 MB / 0.7189 GB, free: 89.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7601, allocations: 4 kB / 0.7189 GB, free: 89.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.7665, allocations: 1.777 MB / 0.7206 GB, free: 88.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7675, allocations: 187.7 kB / 0.7208 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.7728, allocations: 3.291 MB / 0.724 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.7753, allocations: 195.9 kB / 0.7242 GB, free: 84.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.7755, allocations: 54.48 kB / 0.7243 GB, free: 84.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.7755, allocations: 4 kB / 0.7243 GB, free: 84.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006259/0.7818, allocations: 2.629 MB / 0.7268 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7818, allocations: 0 / 0.7268 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005837/0.7876, allocations: 1.741 MB / 0.7285 GB, free: 79.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/0.7887, allocations: 187.7 kB / 0.7287 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.7957, allocations: 4.522 MB / 0.7331 GB, free: 75.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.7981, allocations: 171.9 kB / 0.7333 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.7983, allocations: 51.98 kB / 0.7333 GB, free: 74.86 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.7987, allocations: 130.9 kB / 0.7335 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.799, allocations: 173.9 kB / 0.7336 GB, free: 74.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007822/0.8069, allocations: 2.99 MB / 0.7366 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.8069, allocations: 16 kB / 0.7366 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8069, allocations: 4 kB / 0.7366 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.8069, allocations: 3.984 kB / 0.7366 GB, free: 71.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.8179, allocations: 5.19 MB / 0.7416 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.8179, allocations: 0 / 0.7416 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/0.821, allocations: 0.5386 MB / 0.7422 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003368/0.8244, allocations: 1.018 MB / 0.7432 GB, free: 64.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.8247, allocations: 27.92 kB / 0.7432 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009846/0.8345, allocations: 8.314 MB / 0.7513 GB, free: 55.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8346, allocations: 4.031 kB / 0.7513 GB, free: 55.94 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009204/0.8438, allocations: 3.98 MB / 0.7552 GB, free: 51.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.8444, allocations: 282.9 kB / 0.7555 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.8448, allocations: 8 kB / 0.7555 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.8468, allocations: 199.7 kB / 0.7557 GB, free: 51.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.8471, allocations: 116.8 kB / 0.7558 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8472, allocations: 39.97 kB / 0.7558 GB, free: 51.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001247/0.8485, allocations: 0.9424 MB / 0.7567 GB, free: 50.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001943/0.8505, allocations: 0.5624 MB / 0.7573 GB, free: 49.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003287/0.8508, allocations: 165.4 kB / 0.7574 GB, free: 49.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.8619, allocations: 4.461 MB / 0.7618 GB, free: 45.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.862, allocations: 0 / 0.7618 GB, free: 45.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006098/0.8681, allocations: 2.187 MB / 0.7639 GB, free: 42.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.8695, allocations: 159.3 kB / 0.7641 GB, free: 42.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.8762, allocations: 2.898 MB / 0.7669 GB, free: 39.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.8773, allocations: 1.461 MB / 0.7683 GB, free: 38.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.8773, allocations: 0 / 0.7683 GB, free: 38.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0491/0.9265, allocations: 36.12 MB / 0.8036 GB, free: 2.246 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)