Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001463/0.001463, allocations: 174.3 kB / 7.647 MB, free: 1.422 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.375/1.375, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0008588/0.0008587, allocations: 92.25 kB / 280.5 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.493/0.493, allocations: 78.94 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.369e-05, allocations: 0 / 485.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3616, allocations: 69.52 MB / 0.5424 GB, free: 21.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5262, allocations: 100.5 MB / 0.6405 GB, free: 3.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5265, allocations: 75.91 kB / 0.6406 GB, free: 3.242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07413/0.6007, allocations: 24.65 MB / 0.6647 GB, free: 10.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6007, allocations: 0 / 0.6647 GB, free: 10.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.6008, allocations: 23.94 kB / 0.6647 GB, free: 10.36 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.004102/0.6049, allocations: 1.517 MB / 0.6662 GB, free: 8.797 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6049, allocations: 8.031 kB / 0.6662 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.6072, allocations: 422.1 kB / 0.6666 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.6088, allocations: 0.7352 MB / 0.6673 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.6091, allocations: 198.1 kB / 0.6675 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6093, allocations: 39.95 kB / 0.6675 GB, free: 7.324 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.6106, allocations: 0.6743 MB / 0.6682 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6119, allocations: 0.6248 MB / 0.6688 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6119, allocations: 0 / 0.6688 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.612, allocations: 0 / 0.6688 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.612, allocations: 16 kB / 0.6688 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.6176, allocations: 2.936 MB / 0.6717 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.6236, allocations: 1.768 MB / 0.6734 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.6243, allocations: 424.3 kB / 0.6738 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.6244, allocations: 16.78 kB / 0.6738 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008232/0.6253, allocations: 488.4 kB / 0.6743 GB, free: 168 kB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.776e-06/0.6253, allocations: 0 / 0.6743 GB, free: 168 kB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.3596/0.9849, allocations: 2.592 MB / 0.6768 GB, free: 107 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.985, allocations: 59.56 kB / 0.6769 GB, free: 106.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.9865, allocations: 0.7199 MB / 0.6776 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.9867, allocations: 26.48 kB / 0.6776 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.9871, allocations: 487.3 kB / 0.6781 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.9873, allocations: 248.6 kB / 0.6783 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.9874, allocations: 0 / 0.6783 GB, free: 106.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.9875, allocations: 341.4 kB / 0.6787 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/0.9882, allocations: 349.7 kB / 0.679 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.989, allocations: 449.5 kB / 0.6794 GB, free: 106.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.9897, allocations: 384.6 kB / 0.6798 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9897, allocations: 0 / 0.6798 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.009421/0.9992, allocations: 2.631 MB / 0.6824 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.9992, allocations: 7.188 kB / 0.6824 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.9993, allocations: 4.594 kB / 0.6824 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/1.004, allocations: 1.234 MB / 0.6836 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.005, allocations: 140.7 kB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008905/1.014, allocations: 4.45 MB / 0.688 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.015, allocations: 149.2 kB / 0.6882 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/1.016, allocations: 31.11 kB / 0.6882 GB, free: 104.5 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.0002984/1.016, allocations: 125.2 kB / 0.6883 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/1.016, allocations: 107 kB / 0.6884 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007491/1.024, allocations: 2.686 MB / 0.6911 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.024, allocations: 7.5 kB / 0.6911 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.024, allocations: 0 / 0.6911 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.024, allocations: 5.578 kB / 0.6911 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/1.032, allocations: 3.972 MB / 0.695 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.032, allocations: 0 / 0.695 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/1.033, allocations: 99.77 kB / 0.6951 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/1.037, allocations: 1.301 MB / 0.6963 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/1.037, allocations: 11.03 kB / 0.6963 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00838/1.045, allocations: 4.784 MB / 0.701 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.045, allocations: 0.75 kB / 0.701 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008214/1.054, allocations: 3.296 MB / 0.7042 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/1.054, allocations: 198.8 kB / 0.7044 GB, free: 98.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.054, allocations: 6.641 kB / 0.7044 GB, free: 98.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/1.055, allocations: 101.8 kB / 0.7045 GB, free: 98.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000408/1.055, allocations: 158.2 kB / 0.7047 GB, free: 98.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/1.055, allocations: 20.41 kB / 0.7047 GB, free: 98.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006963/1.056, allocations: 0.5434 MB / 0.7052 GB, free: 97.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.483e-06/1.056, allocations: 0 / 0.7052 GB, free: 97.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001061/1.057, allocations: 312.6 kB / 0.7055 GB, free: 97.85 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.0002769/1.058, allocations: 132.8 kB / 0.7056 GB, free: 97.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003486/1.061, allocations: 1.523 MB / 0.7071 GB, free: 97.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.061, allocations: 0.5625 kB / 0.7071 GB, free: 97.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/1.064, allocations: 1.134 MB / 0.7082 GB, free: 96.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/1.064, allocations: 65.94 kB / 0.7083 GB, free: 96.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/1.067, allocations: 1.268 MB / 0.7095 GB, free: 95.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/1.067, allocations: 1.069 MB / 0.7106 GB, free: 94.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003404/1.067, allocations: 74.19 kB / 0.7107 GB, free: 94.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/1.068, allocations: 51.09 kB / 0.7107 GB, free: 94.45 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.068, allocations: 0 / 0.7107 GB, free: 94.45 MB / 490.7 MB Notification: Performance of Templates: time 0.01992/1.088, allocations: 14.32 MB / 0.7247 GB, free: 82.58 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)