Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") [: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 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 190.1 kB / 7.458 MB, free: 1.367 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.2 MB / 213 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009231/0.0009232, allocations: 91.17 kB / 261.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07608/0.07608, allocations: 12.59 MB / 321.6 MB, free: 33.88 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4486/0.4486, allocations: 78.04 MB / 450.4 MB, free: 33.75 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.704e-06, allocations: 0 / 0.5141 GB, free: 5.855 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 69.31 MB / 0.5818 GB, free: 35.55 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.5303, allocations: 112.5 MB / 0.6917 GB, free: 10.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5306, allocations: 95.92 kB / 0.6918 GB, free: 10.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1449/0.6756, allocations: 51.01 MB / 0.7416 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002238/0.6758, allocations: 52.14 kB / 0.7416 GB, free: 7.281 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008163/0.684, allocations: 2.624 MB / 0.7442 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6841, allocations: 11.97 kB / 0.7442 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.6891, allocations: 0.6642 MB / 0.7449 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.6952, allocations: 1.411 MB / 0.7462 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/0.696, allocations: 421.5 kB / 0.7466 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007614/0.6968, allocations: 91.91 kB / 0.7467 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004214/0.701, allocations: 1.388 MB / 0.7481 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.7057, allocations: 1.554 MB / 0.7496 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.7058, allocations: 7.938 kB / 0.7496 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.7062, allocations: 7.984 kB / 0.7496 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.7062, allocations: 36 kB / 0.7497 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.7225, allocations: 7.177 MB / 0.7567 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.725, allocations: 1.09 MB / 0.7577 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.7266, allocations: 0.825 MB / 0.7585 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.7268, allocations: 37.27 kB / 0.7586 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/0.7288, allocations: 0.9945 MB / 0.7595 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 5.881e-06/0.7288, allocations: 0 / 0.7595 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.01821/0.747, allocations: 5.509 MB / 0.7649 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.7472, allocations: 300.1 kB / 0.7652 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.7509, allocations: 1.377 MB / 0.7666 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.7515, allocations: 25.7 kB / 0.7666 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.7521, allocations: 0.532 MB / 0.7671 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.7534, allocations: 0.5504 MB / 0.7676 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.7537, allocations: 0 / 0.7676 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002842/0.754, allocations: 373.8 kB / 0.768 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.7557, allocations: 0.7109 MB / 0.7687 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.7576, allocations: 1.016 MB / 0.7697 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.7598, allocations: 0.8063 MB / 0.7705 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.7598, allocations: 4 kB / 0.7705 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009021/0.7688, allocations: 3.282 MB / 0.7737 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.7699, allocations: 2.474 MB / 0.7761 GB, free: 3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.77, allocations: 8 kB / 0.7761 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2467/1.017, allocations: 3.192 MB / 0.7792 GB, free: 183.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/1.018, allocations: 210.2 kB / 0.7794 GB, free: 183.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/1.026, allocations: 5.734 MB / 0.785 GB, free: 180.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/1.029, allocations: 306.6 kB / 0.7853 GB, free: 180.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/1.029, allocations: 72.47 kB / 0.7854 GB, free: 180.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.029, allocations: 3.844 kB / 0.7854 GB, free: 180.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005861/1.035, allocations: 2.677 MB / 0.788 GB, free: 180.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.035, allocations: 3.969 kB / 0.788 GB, free: 180.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/1.045, allocations: 3.095 MB / 0.791 GB, free: 180.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.046, allocations: 206.4 kB / 0.7912 GB, free: 180.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.057, allocations: 8.842 MB / 0.7999 GB, free: 175.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.06, allocations: 256.4 kB / 0.8001 GB, free: 175.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/1.06, allocations: 72.06 kB / 0.8002 GB, free: 175.1 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0008099/1.061, allocations: 140.9 kB / 0.8003 GB, free: 175 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/1.062, allocations: 210.4 kB / 0.8005 GB, free: 174.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/1.079, allocations: 5.575 MB / 0.8059 GB, free: 174.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/1.079, allocations: 16.41 kB / 0.806 GB, free: 174.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.079, allocations: 0 / 0.806 GB, free: 174.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/1.079, allocations: 16.61 kB / 0.806 GB, free: 174.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.099, allocations: 7.891 MB / 0.8137 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.1, allocations: 0 / 0.8137 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.101, allocations: 253.8 kB / 0.8139 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006911/1.108, allocations: 2.08 MB / 0.816 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005568/1.109, allocations: 14.62 kB / 0.816 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/1.127, allocations: 7.161 MB / 0.823 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.127, allocations: 1.625 kB / 0.823 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02058/1.147, allocations: 6.823 MB / 0.8296 GB, free: 170.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.148, allocations: 320.8 kB / 0.8299 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009264/1.149, allocations: 10.84 kB / 0.8299 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.152, allocations: 226.4 kB / 0.8302 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007214/1.153, allocations: 171 kB / 0.8303 GB, free: 170 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/1.154, allocations: 45.66 kB / 0.8304 GB, free: 170 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002284/1.156, allocations: 1.032 MB / 0.8314 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003964/1.16, allocations: 0.8857 MB / 0.8322 GB, free: 169.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000553/1.16, allocations: 167.8 kB / 0.8324 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01643/1.177, allocations: 5.413 MB / 0.8377 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.177, allocations: 3.375 kB / 0.8377 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006478/1.183, allocations: 1.981 MB / 0.8396 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.185, allocations: 187.1 kB / 0.8398 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008697/1.194, allocations: 3.218 MB / 0.8429 GB, free: 165.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/1.195, allocations: 1.596 MB / 0.8445 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.444e-06/1.195, allocations: 0 / 0.8445 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.07429/1.27, allocations: 45.25 MB / 0.8887 GB, free: 139.3 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)