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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00838/0.00838, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.368/1.368, 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.001339/0.001339, allocations: 196.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4523/0.4523, allocations: 78.53 MB / 418.4 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 75.88 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2989, allocations: 68.17 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005132/0.304, allocations: 6.008 MB / 0.6255 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.3075, allocations: 1.848 MB / 0.6273 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.3079, allocations: 8 kB / 0.6274 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.3085, allocations: 210.2 kB / 0.6276 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.3099, allocations: 0.7498 MB / 0.6283 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.3109, allocations: 0.5473 MB / 0.6288 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.312, allocations: 1.417 MB / 0.6302 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.3124, allocations: 285.5 kB / 0.6305 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.313, allocations: 0.5602 MB / 0.631 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.3137, allocations: 0.6493 MB / 0.6317 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3139, allocations: 100 kB / 0.6318 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.3143, allocations: 235.9 kB / 0.632 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.3145, allocations: 270.8 kB / 0.6322 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.315, allocations: 0.5631 MB / 0.6328 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.3164, allocations: 1.393 MB / 0.6341 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3164, allocations: 3.984 kB / 0.6341 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3164, allocations: 0 / 0.6341 GB, free: 11.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3164, allocations: 0 / 0.6341 GB, free: 11.27 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.006924/0.3234, allocations: 2.228 MB / 0.6363 GB, free: 8.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3234, allocations: 16.03 kB / 0.6363 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.3236, allocations: 114.7 kB / 0.6364 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.3271, allocations: 0.5491 MB / 0.637 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.3284, allocations: 0.7914 MB / 0.6378 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.3287, allocations: 217.8 kB / 0.638 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3288, allocations: 64 kB / 0.638 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3305, allocations: 0.8457 MB / 0.6389 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3305, allocations: 4 kB / 0.6389 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.3306, allocations: 24 kB / 0.6389 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3306, allocations: 19.94 kB / 0.6389 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.3324, allocations: 0.8445 MB / 0.6397 GB, free: 5.402 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.005175/0.3376, allocations: 3.027 MB / 0.6427 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.3436, allocations: 1.709 MB / 0.6443 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.3447, allocations: 0.5499 MB / 0.6449 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.3448, allocations: 16.58 kB / 0.6449 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.346, allocations: 0.6133 MB / 0.6455 GB, free: 15.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.876e-06/0.346, allocations: 0 / 0.6455 GB, free: 15.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01789/0.3639, allocations: 4.702 MB / 0.6501 GB, free: 10.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.364, allocations: 56.06 kB / 0.6501 GB, free: 10.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3655, allocations: 0.9699 MB / 0.6511 GB, free: 9.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3656, allocations: 37.7 kB / 0.6511 GB, free: 9.383 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.3659, allocations: 476.2 kB / 0.6516 GB, free: 8.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.3662, allocations: 272.1 kB / 0.6518 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.3665, allocations: 178.5 kB / 0.652 GB, free: 8.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3667, allocations: 345.9 kB / 0.6523 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.3679, allocations: 0.5485 MB / 0.6529 GB, free: 7.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3691, allocations: 0.675 MB / 0.6535 GB, free: 6.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.3862, allocations: 4.038 MB / 0.6575 GB, free: 2.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3863, allocations: 3.938 kB / 0.6575 GB, free: 2.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008549/0.3948, allocations: 2.831 MB / 0.6603 GB, free: 15.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3949, allocations: 4 kB / 0.6603 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3949, allocations: 7.984 kB / 0.6603 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.3995, allocations: 1.269 MB / 0.6615 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.4005, allocations: 183.7 kB / 0.6617 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.4123, allocations: 5.675 MB / 0.6672 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.4137, allocations: 151 kB / 0.6674 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.4138, allocations: 39.98 kB / 0.6674 GB, free: 8.461 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.0004058/0.4142, allocations: 241.5 kB / 0.6676 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.4144, allocations: 110.6 kB / 0.6677 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00817/0.4225, allocations: 2.653 MB / 0.6703 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4226, allocations: 8 kB / 0.6703 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4226, allocations: 3.984 kB / 0.6703 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4226, allocations: 0 / 0.6703 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009701/0.4323, allocations: 4.027 MB / 0.6743 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4323, allocations: 3.938 kB / 0.6743 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.4329, allocations: 87.89 kB / 0.6744 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/0.4375, allocations: 1.323 MB / 0.6757 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.4377, allocations: 16 kB / 0.6757 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.4502, allocations: 6.014 MB / 0.6815 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4502, allocations: 0 / 0.6815 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009471/0.4597, allocations: 3.373 MB / 0.6848 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.46, allocations: 199.6 kB / 0.685 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.4602, allocations: 12 kB / 0.685 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.4611, allocations: 91.89 kB / 0.6851 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.4615, allocations: 156.4 kB / 0.6853 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.4616, allocations: 19.98 kB / 0.6853 GB, free: 5.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009463/0.4626, allocations: 0.6592 MB / 0.6859 GB, free: 5.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4626, allocations: 0 / 0.6859 GB, free: 5.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001002/0.4636, allocations: 351.7 kB / 0.6863 GB, free: 4.801 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.009638/0.4732, allocations: 3.95 MB / 0.6901 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.4778, allocations: 1.878 MB / 0.692 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4778, allocations: 0 / 0.692 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.4809, allocations: 1.215 MB / 0.6931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.4816, allocations: 94.45 kB / 0.6932 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/0.5072, allocations: 11.96 MB / 0.7049 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.5078, allocations: 1.049 MB / 0.7059 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004177/0.5082, allocations: 94.69 kB / 0.706 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.5088, allocations: 399.4 kB / 0.7064 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.5088, allocations: 4 kB / 0.7064 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05548/0.5643, allocations: 28.22 MB / 0.734 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.43, allocations: 7.984 kB / 0.734 GB, free: 3.73 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)