Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.002522/0.002522, allocations: 179.2 kB / 7.463 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.015/1.015, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0008587/0.0008587, allocations: 89.83 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3424/0.3424, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.689e-06, allocations: 0 / 484.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 69.34 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3137, allocations: 108.8 MB / 0.647 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3139, allocations: 79.95 kB / 0.6471 GB, free: 12.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2637/0.5775, allocations: 45.11 MB / 0.6912 GB, free: 105.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.5777, allocations: 50.53 kB / 0.6912 GB, free: 105.8 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.004115/0.5818, allocations: 2.088 MB / 0.6933 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.5818, allocations: 7.469 kB / 0.6933 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5838, allocations: 459.9 kB / 0.6937 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.5858, allocations: 1.323 MB / 0.695 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.5861, allocations: 340.5 kB / 0.6953 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.5863, allocations: 73.09 kB / 0.6954 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001774/0.5881, allocations: 1.183 MB / 0.6965 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5898, allocations: 1.206 MB / 0.6977 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.5898, allocations: 0 / 0.6977 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.5899, allocations: 0 / 0.6977 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.5899, allocations: 27.5 kB / 0.6977 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008769/0.5987, allocations: 5.937 MB / 0.7035 GB, free: 99.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.6007, allocations: 1.051 MB / 0.7046 GB, free: 98.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/0.6016, allocations: 0.6528 MB / 0.7052 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6017, allocations: 21.72 kB / 0.7052 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6017, allocations: 49.77 kB / 0.7053 GB, free: 98.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 2.154e-06/0.6017, allocations: 0.8438 kB / 0.7053 GB, free: 98.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01036/0.6121, allocations: 5.133 MB / 0.7103 GB, free: 96.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6121, allocations: 224.1 kB / 0.7105 GB, free: 95.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.6136, allocations: 1.265 MB / 0.7117 GB, free: 95.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.6137, allocations: 35.05 kB / 0.7118 GB, free: 95.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.6139, allocations: 450.4 kB / 0.7122 GB, free: 95.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.6143, allocations: 433.7 kB / 0.7126 GB, free: 94.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.6144, allocations: 1.219 kB / 0.7126 GB, free: 94.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.6145, allocations: 360 kB / 0.713 GB, free: 94.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/0.6155, allocations: 0.6453 MB / 0.7136 GB, free: 94.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.6165, allocations: 0.8187 MB / 0.7144 GB, free: 93.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.6177, allocations: 0.7294 MB / 0.7151 GB, free: 93.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6177, allocations: 5.625 kB / 0.7151 GB, free: 93.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006064/0.6238, allocations: 2.916 MB / 0.718 GB, free: 91.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6239, allocations: 0.9983 MB / 0.7189 GB, free: 89.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6239, allocations: 0 / 0.7189 GB, free: 89.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/0.6293, allocations: 1.774 MB / 0.7207 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.63, allocations: 187.8 kB / 0.7208 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.6344, allocations: 3.295 MB / 0.7241 GB, free: 84.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.6363, allocations: 195.9 kB / 0.7242 GB, free: 84.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6364, allocations: 51.98 kB / 0.7243 GB, free: 84.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.6364, allocations: 4 kB / 0.7243 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005412/0.6418, allocations: 2.621 MB / 0.7269 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6419, allocations: 4 kB / 0.7269 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.6469, allocations: 1.74 MB / 0.7286 GB, free: 80.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.6476, allocations: 191.7 kB / 0.7287 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.6535, allocations: 4.522 MB / 0.7332 GB, free: 75.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.6554, allocations: 175.9 kB / 0.7333 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.6555, allocations: 47.98 kB / 0.7334 GB, free: 75.23 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.000297/0.6559, allocations: 132.6 kB / 0.7335 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.6561, allocations: 169.9 kB / 0.7337 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.6629, allocations: 2.993 MB / 0.7366 GB, free: 71.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6629, allocations: 12 kB / 0.7366 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.6629, allocations: 4 kB / 0.7366 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6629, allocations: 7.984 kB / 0.7366 GB, free: 71.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/0.6718, allocations: 5.181 MB / 0.7417 GB, free: 66.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.6718, allocations: 3.984 kB / 0.7417 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/0.6746, allocations: 0.5347 MB / 0.7422 GB, free: 66.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.6774, allocations: 1.026 MB / 0.7432 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6775, allocations: 19.98 kB / 0.7432 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008468/0.686, allocations: 8.314 MB / 0.7513 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.686, allocations: 3.984 kB / 0.7513 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007608/0.6936, allocations: 3.977 MB / 0.7552 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.6939, allocations: 282.9 kB / 0.7555 GB, free: 52.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.6942, allocations: 19.94 kB / 0.7555 GB, free: 51.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.6959, allocations: 199.7 kB / 0.7557 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.6961, allocations: 108.8 kB / 0.7558 GB, free: 51.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/0.6962, allocations: 28 kB / 0.7558 GB, free: 51.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009916/0.6972, allocations: 0.9502 MB / 0.7568 GB, free: 50.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001431/0.6987, allocations: 0.5624 MB / 0.7573 GB, free: 50.15 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.0002597/0.6989, allocations: 165.4 kB / 0.7575 GB, free: 49.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009397/0.7084, allocations: 4.456 MB / 0.7618 GB, free: 45.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7084, allocations: 4.375 kB / 0.7618 GB, free: 45.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005077/0.7135, allocations: 2.195 MB / 0.764 GB, free: 43.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.7142, allocations: 159.2 kB / 0.7641 GB, free: 43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.7194, allocations: 2.902 MB / 0.7669 GB, free: 40.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009111/0.7204, allocations: 1.46 MB / 0.7684 GB, free: 38.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7204, allocations: 0 / 0.7684 GB, free: 38.57 MB / 490.7 MB Notification: Performance of Templates: time 0.03881/0.7592, allocations: 36.13 MB / 0.8037 GB, free: 2.574 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)