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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.397/1.397, allocations: 222.9 MB / 238.8 MB, free: 4.656 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.001554/0.001554, allocations: 192.4 kB / 289.1 MB, free: 2.398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4714/0.4714, allocations: 78.51 MB / 417.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 496.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 68.17 MB / 0.5518 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2753/0.42, allocations: 6.317 MB / 0.5579 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.4237, allocations: 1.885 MB / 0.5598 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.4243, allocations: 13.19 kB / 0.5598 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.425, allocations: 164.3 kB / 0.56 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4264, allocations: 0.6252 MB / 0.5606 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.4274, allocations: 0.507 MB / 0.5611 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.4287, allocations: 1.348 MB / 0.5624 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.4291, allocations: 248.9 kB / 0.5626 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.4297, allocations: 0.5122 MB / 0.5631 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.4303, allocations: 0.6199 MB / 0.5637 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.4304, allocations: 62.38 kB / 0.5638 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.4309, allocations: 196.4 kB / 0.564 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.4311, allocations: 229 kB / 0.5642 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00042/0.4315, allocations: 0.5235 MB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.4326, allocations: 1.334 MB / 0.566 GB, free: 34.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4326, allocations: 0 / 0.566 GB, free: 34.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.4326, allocations: 0 / 0.566 GB, free: 34.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4326, allocations: 0 / 0.566 GB, free: 34.49 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.006531/0.4392, allocations: 2.244 MB / 0.5682 GB, free: 33.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4392, allocations: 9.906 kB / 0.5682 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.4394, allocations: 110.5 kB / 0.5683 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.4426, allocations: 0.5546 MB / 0.5689 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.4438, allocations: 0.7849 MB / 0.5696 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.4441, allocations: 215.3 kB / 0.5698 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4442, allocations: 62.62 kB / 0.5699 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.4458, allocations: 0.8337 MB / 0.5707 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4458, allocations: 1.031 kB / 0.5707 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.4459, allocations: 25.55 kB / 0.5707 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.4459, allocations: 25.34 kB / 0.5707 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4476, allocations: 0.8505 MB / 0.5716 GB, free: 32.91 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.005234/0.4528, allocations: 3.051 MB / 0.5746 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005786/0.4586, allocations: 1.707 MB / 0.5762 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.4596, allocations: 0.5465 MB / 0.5768 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.4597, allocations: 17.19 kB / 0.5768 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.4609, allocations: 0.6156 MB / 0.5774 GB, free: 31.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.545e-06/0.4609, allocations: 0 / 0.5774 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01712/0.478, allocations: 4.694 MB / 0.582 GB, free: 30.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4781, allocations: 63.19 kB / 0.582 GB, free: 30.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.4796, allocations: 0.9726 MB / 0.583 GB, free: 29.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.4798, allocations: 40.14 kB / 0.583 GB, free: 29.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.4801, allocations: 467.9 kB / 0.5835 GB, free: 29.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.4803, allocations: 264.8 kB / 0.5837 GB, free: 29.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.4807, allocations: 178.8 kB / 0.5839 GB, free: 29.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.4808, allocations: 348.2 kB / 0.5842 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.482, allocations: 0.5529 MB / 0.5847 GB, free: 28.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.4832, allocations: 0.6664 MB / 0.5854 GB, free: 28.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/0.4997, allocations: 4.039 MB / 0.5893 GB, free: 27.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4998, allocations: 0 / 0.5893 GB, free: 27.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008837/0.5086, allocations: 2.837 MB / 0.5921 GB, free: 26.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.5087, allocations: 10.34 kB / 0.5921 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5087, allocations: 6.156 kB / 0.5921 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/0.5133, allocations: 1.263 MB / 0.5934 GB, free: 26.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5144, allocations: 181.4 kB / 0.5935 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.5256, allocations: 5.246 MB / 0.5987 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5272, allocations: 148.4 kB / 0.5988 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.5275, allocations: 35.8 kB / 0.5988 GB, free: 23.28 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.0005921/0.5281, allocations: 234.8 kB / 0.5991 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.5284, allocations: 115.8 kB / 0.5992 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00884/0.5372, allocations: 2.655 MB / 0.6018 GB, free: 22.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5373, allocations: 9.109 kB / 0.6018 GB, free: 22.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5373, allocations: 0.6875 kB / 0.6018 GB, free: 22.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.5373, allocations: 7.891 kB / 0.6018 GB, free: 22.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5489, allocations: 4.018 MB / 0.6057 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.5489, allocations: 1.062 kB / 0.6057 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.5496, allocations: 93.19 kB / 0.6058 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004993/0.5546, allocations: 1.325 MB / 0.6071 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.5548, allocations: 19.09 kB / 0.6071 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.5675, allocations: 5.456 MB / 0.6124 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5676, allocations: 1.219 kB / 0.6124 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009645/0.5772, allocations: 3.375 MB / 0.6157 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.5778, allocations: 201.5 kB / 0.6159 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.5781, allocations: 19.98 kB / 0.6159 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5793, allocations: 83.91 kB / 0.616 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/0.5798, allocations: 152.3 kB / 0.6162 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.5799, allocations: 19.98 kB / 0.6162 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.581, allocations: 0.667 MB / 0.6168 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.581, allocations: 0 / 0.6168 GB, free: 12.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001449/0.5825, allocations: 347.7 kB / 0.6172 GB, free: 11.94 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.009228/0.5917, allocations: 3.937 MB / 0.621 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.5962, allocations: 1.854 MB / 0.6228 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5963, allocations: 0 / 0.6228 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/0.5993, allocations: 1.187 MB / 0.624 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6005, allocations: 94.19 kB / 0.6241 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/0.6295, allocations: 12.86 MB / 0.6366 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009261/0.6305, allocations: 1.045 MB / 0.6377 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007187/0.6312, allocations: 101.7 kB / 0.6378 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/0.632, allocations: 399.3 kB / 0.6381 GB, free: 5.988 MB / 446.1 MB Notification: Performance of SimCode: time 1.183e-06/0.632, allocations: 0 / 0.6381 GB, free: 5.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05017/0.6822, allocations: 25.89 MB / 0.6634 GB, free: 12.43 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.6825, allocations: 209 kB / 0.6636 GB, free: 12.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.06, allocations: 4.062 kB / 0.6636 GB, free: 12.17 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)