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.007723/0.007723, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.402/1.402, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001374/0.001374, allocations: 180.5 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.4401/0.4401, allocations: 78.54 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001608, allocations: 75.88 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3161, allocations: 68.18 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005699/0.3218, allocations: 6.01 MB / 0.6255 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.3251, allocations: 1.837 MB / 0.6273 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008362/0.326, allocations: 15.94 kB / 0.6274 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.3266, allocations: 206.2 kB / 0.6276 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.3282, allocations: 0.7108 MB / 0.6282 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.3292, allocations: 0.5397 MB / 0.6288 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3303, allocations: 1.421 MB / 0.6302 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3307, allocations: 285.5 kB / 0.6304 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.3314, allocations: 0.5562 MB / 0.631 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.3321, allocations: 0.6532 MB / 0.6316 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3322, allocations: 100 kB / 0.6317 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.3326, allocations: 235.8 kB / 0.6319 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3328, allocations: 266.9 kB / 0.6322 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.3332, allocations: 0.5631 MB / 0.6327 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3345, allocations: 1.393 MB / 0.6341 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3345, allocations: 0 / 0.6341 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3345, allocations: 0 / 0.6341 GB, free: 11.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3345, allocations: 4 kB / 0.6341 GB, free: 11.35 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.006725/0.3412, allocations: 2.235 MB / 0.6363 GB, free: 9.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3413, allocations: 8.031 kB / 0.6363 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.3414, allocations: 110.7 kB / 0.6364 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.3448, allocations: 0.5608 MB / 0.6369 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3461, allocations: 0.7914 MB / 0.6377 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3463, allocations: 213.8 kB / 0.6379 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3465, allocations: 60 kB / 0.638 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.3481, allocations: 0.838 MB / 0.6388 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3482, allocations: 3.938 kB / 0.6388 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.3482, allocations: 28 kB / 0.6388 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3483, allocations: 15.94 kB / 0.6388 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.35, allocations: 0.8523 MB / 0.6397 GB, free: 5.477 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.005005/0.3551, allocations: 3.031 MB / 0.6426 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006213/0.3613, allocations: 1.705 MB / 0.6443 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.3624, allocations: 0.5498 MB / 0.6448 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.3625, allocations: 16.59 kB / 0.6449 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.3638, allocations: 0.6133 MB / 0.6455 GB, free: 15.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/0.3638, allocations: 0 / 0.6455 GB, free: 15.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01851/0.3823, allocations: 4.702 MB / 0.65 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3824, allocations: 60.06 kB / 0.6501 GB, free: 10.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.3838, allocations: 0.966 MB / 0.651 GB, free: 9.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.3839, allocations: 41.7 kB / 0.6511 GB, free: 9.453 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.3842, allocations: 468.2 kB / 0.6515 GB, free: 8.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.3845, allocations: 268.2 kB / 0.6518 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.3848, allocations: 178.5 kB / 0.652 GB, free: 8.543 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.385, allocations: 349.9 kB / 0.6523 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3862, allocations: 0.5524 MB / 0.6528 GB, free: 7.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.3875, allocations: 0.675 MB / 0.6535 GB, free: 6.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/0.4042, allocations: 4.042 MB / 0.6574 GB, free: 2.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4042, allocations: 0 / 0.6574 GB, free: 2.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008843/0.4131, allocations: 2.835 MB / 0.6602 GB, free: 8 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4131, allocations: 8 kB / 0.6602 GB, free: 0 / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4131, allocations: 0 / 0.6602 GB, free: 0 / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004828/0.418, allocations: 1.265 MB / 0.6615 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.419, allocations: 191.7 kB / 0.6616 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.4314, allocations: 5.674 MB / 0.6672 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4328, allocations: 151 kB / 0.6673 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.433, allocations: 39.98 kB / 0.6674 GB, free: 8.535 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.0004555/0.4334, allocations: 237.5 kB / 0.6676 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4336, allocations: 114.6 kB / 0.6677 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008636/0.4422, allocations: 2.661 MB / 0.6703 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4423, allocations: 8 kB / 0.6703 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.4423, allocations: 0 / 0.6703 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4423, allocations: 3.984 kB / 0.6703 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.4525, allocations: 4.019 MB / 0.6742 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.4526, allocations: 3.938 kB / 0.6742 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.4531, allocations: 87.89 kB / 0.6743 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004993/0.4581, allocations: 1.323 MB / 0.6756 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4582, allocations: 15.98 kB / 0.6756 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.4717, allocations: 6.006 MB / 0.6815 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4717, allocations: 4 kB / 0.6815 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.4823, allocations: 3.373 MB / 0.6848 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.4828, allocations: 199.7 kB / 0.685 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.4831, allocations: 15.98 kB / 0.685 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4842, allocations: 83.91 kB / 0.6851 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/0.4847, allocations: 156.4 kB / 0.6852 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.4848, allocations: 24 kB / 0.6852 GB, free: 5.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.4859, allocations: 0.6553 MB / 0.6859 GB, free: 5.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4859, allocations: 4 kB / 0.6859 GB, free: 5.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4871, allocations: 347.7 kB / 0.6862 GB, free: 4.879 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.01063/0.4977, allocations: 3.954 MB / 0.6901 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005101/0.5028, allocations: 1.882 MB / 0.6919 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5029, allocations: 0 / 0.6919 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.5063, allocations: 1.204 MB / 0.6931 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.5072, allocations: 102.2 kB / 0.6932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/0.5354, allocations: 11.97 MB / 0.7049 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.5362, allocations: 1.042 MB / 0.7059 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.5366, allocations: 98.67 kB / 0.706 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/0.5372, allocations: 403.4 kB / 0.7064 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.5372, allocations: 4 kB / 0.7064 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.5964, allocations: 29.29 MB / 0.735 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.66, allocations: 9.422 kB / 0.735 GB, free: 2.727 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)