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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007458/0.007458, allocations: 99.72 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4851/0.4851, allocations: 78.53 MB / 418.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.89 kB / 0.5536 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3117, allocations: 68.17 MB / 0.6201 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005264/0.317, allocations: 6.008 MB / 0.626 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3203, allocations: 1.845 MB / 0.6278 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.3211, allocations: 15.94 kB / 0.6278 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.3218, allocations: 206.2 kB / 0.628 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3234, allocations: 0.7026 MB / 0.6287 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.3244, allocations: 0.5448 MB / 0.6292 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3259, allocations: 1.425 MB / 0.6306 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.3264, allocations: 283.3 kB / 0.6309 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.3272, allocations: 0.5601 MB / 0.6315 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.3279, allocations: 0.6494 MB / 0.6321 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3281, allocations: 100 kB / 0.6322 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.3285, allocations: 239.8 kB / 0.6324 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.3288, allocations: 262.9 kB / 0.6327 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.3293, allocations: 0.5631 MB / 0.6332 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3307, allocations: 1.398 MB / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3307, allocations: 4 kB / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3307, allocations: 0 / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3308, allocations: 0 / 0.6346 GB, free: 11.39 MB / 446.1 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.006903/0.3377, allocations: 2.274 MB / 0.6368 GB, free: 9.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3377, allocations: 12.03 kB / 0.6368 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.3412, allocations: 0.5655 MB / 0.6374 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3425, allocations: 0.7886 MB / 0.6381 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.3427, allocations: 217.8 kB / 0.6383 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3429, allocations: 63.94 kB / 0.6384 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.3446, allocations: 0.838 MB / 0.6392 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3446, allocations: 3.938 kB / 0.6392 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.3447, allocations: 24 kB / 0.6393 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3447, allocations: 19.94 kB / 0.6393 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.3466, allocations: 0.8484 MB / 0.6401 GB, free: 5.586 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.3518, allocations: 3.043 MB / 0.6431 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006129/0.358, allocations: 1.705 MB / 0.6447 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.3592, allocations: 0.5499 MB / 0.6453 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3593, allocations: 4.656 kB / 0.6453 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.3606, allocations: 0.6172 MB / 0.6459 GB, free: 15.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.705e-06/0.3606, allocations: 0 / 0.6459 GB, free: 15.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01873/0.3794, allocations: 4.711 MB / 0.6505 GB, free: 10.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.3795, allocations: 60.06 kB / 0.6505 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.3815, allocations: 0.9661 MB / 0.6515 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.3817, allocations: 41.7 kB / 0.6515 GB, free: 9.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.3821, allocations: 480.9 kB / 0.652 GB, free: 9.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.3826, allocations: 273.6 kB / 0.6522 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/0.3832, allocations: 186.5 kB / 0.6524 GB, free: 8.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3834, allocations: 341.9 kB / 0.6527 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.3847, allocations: 0.5524 MB / 0.6533 GB, free: 7.723 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.3861, allocations: 0.6672 MB / 0.6539 GB, free: 7.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/0.4034, allocations: 4.042 MB / 0.6579 GB, free: 2.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.4035, allocations: 4 kB / 0.6579 GB, free: 2.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009237/0.4127, allocations: 2.847 MB / 0.6607 GB, free: 84 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.4128, allocations: 10.5 kB / 0.6607 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4128, allocations: 0 / 0.6607 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004933/0.4178, allocations: 1.265 MB / 0.6619 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4189, allocations: 195.7 kB / 0.6621 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.4316, allocations: 5.675 MB / 0.6676 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4331, allocations: 159.2 kB / 0.6678 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.4334, allocations: 35.98 kB / 0.6678 GB, free: 8.605 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = "rad" fixed = true ) "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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005982/0.434, allocations: 248.9 kB / 0.6681 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.4343, allocations: 119.2 kB / 0.6682 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/0.443, allocations: 2.653 MB / 0.6708 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4431, allocations: 4 kB / 0.6708 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4431, allocations: 8 kB / 0.6708 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4431, allocations: 3.984 kB / 0.6708 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.4536, allocations: 4.023 MB / 0.6747 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4537, allocations: 0 / 0.6747 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.4542, allocations: 95.81 kB / 0.6748 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004939/0.4591, allocations: 1.319 MB / 0.6761 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.4592, allocations: 16.08 kB / 0.6761 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.4729, allocations: 6.015 MB / 0.682 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4729, allocations: 0 / 0.682 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.4834, allocations: 3.389 MB / 0.6853 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4838, allocations: 204.3 kB / 0.6855 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.484, allocations: 12 kB / 0.6855 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.485, allocations: 91.89 kB / 0.6856 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/0.4855, allocations: 152.4 kB / 0.6857 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/0.4855, allocations: 16 kB / 0.6857 GB, free: 5.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.4866, allocations: 0.6631 MB / 0.6864 GB, free: 5.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4867, allocations: 0 / 0.6864 GB, free: 5.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00113/0.4878, allocations: 351.8 kB / 0.6867 GB, free: 4.914 MB / 494.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.4881, allocations: 119.1 kB / 0.6868 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004898/0.493, allocations: 1.889 MB / 0.6887 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.493, allocations: 0 / 0.6887 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.4964, allocations: 1.215 MB / 0.6899 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.4974, allocations: 92.41 kB / 0.69 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.5011, allocations: 1.828 MB / 0.6917 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.5018, allocations: 1.046 MB / 0.6928 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003819/0.5022, allocations: 98.67 kB / 0.6929 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.5024, allocations: 63.42 kB / 0.6929 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.5024, allocations: 0 / 0.6929 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02897/0.5314, allocations: 18.93 MB / 0.7114 GB, free: 11.5 MB / 0.5137 GB 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)