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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.001408/0.001408, allocations: 188.5 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4394/0.4394, allocations: 78.54 MB / 418.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 497.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 68.17 MB / 0.5525 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2177/0.3422, allocations: 6.004 MB / 0.5583 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.3456, allocations: 1.836 MB / 0.5601 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.3464, allocations: 12.75 kB / 0.5601 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.347, allocations: 207.1 kB / 0.5603 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.3485, allocations: 0.7032 MB / 0.561 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009853/0.3495, allocations: 0.5473 MB / 0.5615 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.3505, allocations: 1.417 MB / 0.5629 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.3509, allocations: 283.8 kB / 0.5632 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.3515, allocations: 0.5642 MB / 0.5638 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.352, allocations: 0.6452 MB / 0.5644 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3522, allocations: 97.84 kB / 0.5645 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.3526, allocations: 238.3 kB / 0.5647 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.3528, allocations: 262.8 kB / 0.565 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.3531, allocations: 0.5706 MB / 0.5655 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009866/0.3541, allocations: 1.375 MB / 0.5669 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3541, allocations: 0 / 0.5669 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3541, allocations: 0.9375 kB / 0.5669 GB, free: 34.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3542, allocations: 2.875 kB / 0.5669 GB, free: 34.52 MB / 430.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.006247/0.3604, allocations: 2.237 MB / 0.569 GB, free: 33.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3605, allocations: 8.938 kB / 0.5691 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.3606, allocations: 113.5 kB / 0.5692 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.3638, allocations: 0.553 MB / 0.5697 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3648, allocations: 0.7844 MB / 0.5705 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.365, allocations: 210.7 kB / 0.5707 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3651, allocations: 62.53 kB / 0.5707 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3666, allocations: 0.8337 MB / 0.5715 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3666, allocations: 0 / 0.5715 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.3667, allocations: 25.47 kB / 0.5716 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3667, allocations: 18.84 kB / 0.5716 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.3683, allocations: 0.8537 MB / 0.5724 GB, free: 32.93 MB / 430.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.004396/0.3727, allocations: 3.048 MB / 0.5754 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/0.3784, allocations: 1.711 MB / 0.5771 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009642/0.3794, allocations: 0.5463 MB / 0.5776 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.508e-05/0.3795, allocations: 18.66 kB / 0.5776 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.3805, allocations: 0.6157 MB / 0.5782 GB, free: 31.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.715e-06/0.3805, allocations: 0 / 0.5782 GB, free: 31.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01735/0.3979, allocations: 4.699 MB / 0.5828 GB, free: 30.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.398, allocations: 69.16 kB / 0.5829 GB, free: 29.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.3993, allocations: 0.9658 MB / 0.5838 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-05/0.3994, allocations: 37.58 kB / 0.5839 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.3997, allocations: 469.1 kB / 0.5843 GB, free: 29.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3999, allocations: 268.8 kB / 0.5846 GB, free: 28.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.4002, allocations: 177.6 kB / 0.5847 GB, free: 28.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.4003, allocations: 351.1 kB / 0.5851 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.4015, allocations: 0.5457 MB / 0.5856 GB, free: 28.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4026, allocations: 0.6687 MB / 0.5862 GB, free: 28.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/0.4195, allocations: 4.049 MB / 0.5902 GB, free: 26.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4196, allocations: 1.156 kB / 0.5902 GB, free: 26.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009204/0.4288, allocations: 2.837 MB / 0.593 GB, free: 26.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4288, allocations: 6.594 kB / 0.593 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4289, allocations: 3.312 kB / 0.593 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/0.4338, allocations: 1.271 MB / 0.5942 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.4349, allocations: 190.8 kB / 0.5944 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.4467, allocations: 5.676 MB / 0.5999 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4483, allocations: 152.2 kB / 0.6001 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.4484, allocations: 35.7 kB / 0.6001 GB, free: 22.77 MB / 430.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.0004168/0.4488, allocations: 239.1 kB / 0.6004 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.449, allocations: 112.1 kB / 0.6005 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/0.4577, allocations: 2.655 MB / 0.6031 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4578, allocations: 11.48 kB / 0.6031 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4578, allocations: 2.594 kB / 0.6031 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.4578, allocations: 7.938 kB / 0.6031 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.4682, allocations: 4.023 MB / 0.607 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4683, allocations: 3.938 kB / 0.607 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.4688, allocations: 91.44 kB / 0.6071 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00467/0.4735, allocations: 1.321 MB / 0.6084 GB, free: 19.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.4736, allocations: 16.77 kB / 0.6084 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.4852, allocations: 6.015 MB / 0.6143 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4852, allocations: 8.844 kB / 0.6143 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008887/0.4941, allocations: 3.367 MB / 0.6176 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.4944, allocations: 199.7 kB / 0.6178 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.4946, allocations: 20.92 kB / 0.6178 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/0.4955, allocations: 79.91 kB / 0.6179 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.4959, allocations: 156.4 kB / 0.618 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.4959, allocations: 20 kB / 0.618 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008098/0.4968, allocations: 0.6631 MB / 0.6187 GB, free: 10.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4968, allocations: 1.875 kB / 0.6187 GB, free: 10.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009785/0.4978, allocations: 347.7 kB / 0.619 GB, free: 10.47 MB / 430.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.009023/0.5068, allocations: 3.941 MB / 0.6229 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004569/0.5114, allocations: 1.9 MB / 0.6247 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5114, allocations: 0 / 0.6247 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002913/0.5143, allocations: 1.207 MB / 0.6259 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.5151, allocations: 103 kB / 0.626 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/0.5417, allocations: 12.54 MB / 0.6382 GB, free: 6.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.5424, allocations: 1.042 MB / 0.6393 GB, free: 5.254 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004158/0.5428, allocations: 99.92 kB / 0.6393 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.5434, allocations: 399.3 kB / 0.6397 GB, free: 4.766 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5434, allocations: 0 / 0.6397 GB, free: 4.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.6007, allocations: 27.87 MB / 0.6669 GB, free: 9.199 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.48, allocations: 10.94 kB / 0.667 GB, free: 9.191 MB / 478.1 MB (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)