Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.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.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009974, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007923/0.0007923, allocations: 91.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4947/0.4947, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.721e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3305, allocations: 69.34 MB / 0.5479 GB, free: 20.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4571, allocations: 100.6 MB / 0.6462 GB, free: 15.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4574, allocations: 71.97 kB / 0.6462 GB, free: 15.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07028/0.5277, allocations: 24.77 MB / 0.6704 GB, free: 6.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5277, allocations: 0 / 0.6704 GB, free: 6.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.407e-05/0.5278, allocations: 23.94 kB / 0.6704 GB, free: 6.762 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004859/0.5327, allocations: 1.519 MB / 0.6719 GB, free: 5.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5328, allocations: 11.97 kB / 0.6719 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.5357, allocations: 414.1 kB / 0.6723 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.5377, allocations: 0.7352 MB / 0.673 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.538, allocations: 230 kB / 0.6733 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5381, allocations: 60 kB / 0.6733 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5396, allocations: 0.7132 MB / 0.674 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5397, allocations: 0 / 0.674 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.5398, allocations: 28 kB / 0.674 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.5398, allocations: 19.98 kB / 0.6741 GB, free: 2.902 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.5411, allocations: 0.7003 MB / 0.6747 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3863/0.9275, allocations: 3.042 MB / 0.6777 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.9384, allocations: 1.795 MB / 0.6795 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.94, allocations: 448.5 kB / 0.6799 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.9402, allocations: 19.69 kB / 0.6799 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001648/0.9419, allocations: 0.5026 MB / 0.6804 GB, free: 104.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 5.19e-06/0.9419, allocations: 0.7188 kB / 0.6804 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.01549/0.9574, allocations: 2.659 MB / 0.683 GB, free: 104.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.9575, allocations: 59.72 kB / 0.6831 GB, free: 104.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.9599, allocations: 0.791 MB / 0.6838 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.9602, allocations: 39.42 kB / 0.6839 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.9607, allocations: 485.4 kB / 0.6843 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.9612, allocations: 260.8 kB / 0.6846 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.9613, allocations: 16.47 kB / 0.6846 GB, free: 103.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.9614, allocations: 328.9 kB / 0.6849 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.9626, allocations: 367.3 kB / 0.6853 GB, free: 103.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.9638, allocations: 471 kB / 0.6857 GB, free: 103.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.965, allocations: 399.7 kB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.965, allocations: 10.75 kB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01296/0.978, allocations: 2.697 MB / 0.6887 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.9781, allocations: 3.688 kB / 0.6887 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.9781, allocations: 3.75 kB / 0.6887 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007588/0.9857, allocations: 1.271 MB / 0.69 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.987, allocations: 142.2 kB / 0.6901 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1, allocations: 4.602 MB / 0.6946 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.002, allocations: 168.4 kB / 0.6948 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.003, allocations: 30.84 kB / 0.6948 GB, free: 100.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(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 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003238/1.003, allocations: 140.5 kB / 0.6949 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.003, allocations: 113.3 kB / 0.695 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.017, allocations: 2.753 MB / 0.6977 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.017, allocations: 6.594 kB / 0.6977 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.017, allocations: 3.75 kB / 0.6977 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.017, allocations: 3.656 kB / 0.6977 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.034, allocations: 4.115 MB / 0.7018 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.034, allocations: 0 / 0.7018 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/1.035, allocations: 95.09 kB / 0.7019 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007557/1.042, allocations: 1.31 MB / 0.7031 GB, free: 97.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/1.043, allocations: 24.53 kB / 0.7032 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/1.058, allocations: 4.905 MB / 0.7079 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.058, allocations: 7.984 kB / 0.708 GB, free: 94.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/1.074, allocations: 3.356 MB / 0.7112 GB, free: 92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/1.074, allocations: 200.4 kB / 0.7114 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.075, allocations: 16 kB / 0.7114 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.076, allocations: 115.1 kB / 0.7116 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/1.077, allocations: 151.6 kB / 0.7117 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.077, allocations: 27.53 kB / 0.7117 GB, free: 91.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001268/1.078, allocations: 0.6212 MB / 0.7123 GB, free: 91.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.078, allocations: 0 / 0.7123 GB, free: 91.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001622/1.08, allocations: 341.4 kB / 0.7127 GB, free: 90.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(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 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003515/1.08, allocations: 136.1 kB / 0.7128 GB, free: 90.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005389/1.086, allocations: 1.57 MB / 0.7143 GB, free: 89.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.086, allocations: 64 / 0.7143 GB, free: 89.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004519/1.09, allocations: 1.175 MB / 0.7155 GB, free: 88.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.092, allocations: 79.5 kB / 0.7155 GB, free: 87.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/1.095, allocations: 1.307 MB / 0.7168 GB, free: 86.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/1.096, allocations: 1.064 MB / 0.7179 GB, free: 85.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006023/1.096, allocations: 79.45 kB / 0.7179 GB, free: 85.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.097, allocations: 54.53 kB / 0.718 GB, free: 85.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/1.097, allocations: 0 / 0.718 GB, free: 85.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03129/1.128, allocations: 15.58 MB / 0.7332 GB, free: 72.17 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)