Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009681/0.000968, allocations: 176 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.8 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008433, allocations: 90.36 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4462/0.4462, allocations: 78.42 MB / 418.9 MB, free: 44.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 12 kB / 498.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3706, allocations: 68.74 MB / 0.554 GB, free: 39.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006595/0.3773, allocations: 6.313 MB / 0.5601 GB, free: 37.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.3817, allocations: 1.882 MB / 0.562 GB, free: 36.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.3828, allocations: 16.72 kB / 0.562 GB, free: 36.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.3835, allocations: 163.4 kB / 0.5621 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.3853, allocations: 0.6387 MB / 0.5628 GB, free: 36.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3865, allocations: 0.5089 MB / 0.5633 GB, free: 36.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3881, allocations: 1.344 MB / 0.5646 GB, free: 35.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.3885, allocations: 254.1 kB / 0.5648 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.3893, allocations: 0.4918 MB / 0.5653 GB, free: 35.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007489/0.3901, allocations: 0.596 MB / 0.5659 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3902, allocations: 48.47 kB / 0.5659 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.3907, allocations: 180.3 kB / 0.5661 GB, free: 35.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.3909, allocations: 218.6 kB / 0.5663 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.3914, allocations: 0.5004 MB / 0.5668 GB, free: 35.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3925, allocations: 1.311 MB / 0.5681 GB, free: 34.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3925, allocations: 1.625 kB / 0.5681 GB, free: 34.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3925, allocations: 0 / 0.5681 GB, free: 34.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3925, allocations: 0 / 0.5681 GB, free: 34.66 MB / 426.7 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.005917/0.3985, allocations: 2.034 MB / 0.5701 GB, free: 33.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3985, allocations: 14.59 kB / 0.5701 GB, free: 33.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.3987, allocations: 110.9 kB / 0.5702 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.4018, allocations: 0.5497 MB / 0.5707 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.403, allocations: 0.7822 MB / 0.5715 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.4032, allocations: 211.9 kB / 0.5717 GB, free: 32.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4033, allocations: 62.56 kB / 0.5717 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4048, allocations: 0.8326 MB / 0.5726 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4048, allocations: 0 / 0.5726 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.4049, allocations: 25.38 kB / 0.5726 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4049, allocations: 21.5 kB / 0.5726 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.4064, allocations: 0.8493 MB / 0.5734 GB, free: 32.13 MB / 426.7 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.004679/0.4111, allocations: 3.059 MB / 0.5764 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/0.4163, allocations: 1.705 MB / 0.5781 GB, free: 29.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.4172, allocations: 0.5567 MB / 0.5786 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-05/0.4173, allocations: 12.78 kB / 0.5786 GB, free: 29.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/0.4183, allocations: 0.6113 MB / 0.5792 GB, free: 29.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.354e-06/0.4183, allocations: 6.531 kB / 0.5792 GB, free: 29.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01527/0.4336, allocations: 4.695 MB / 0.5838 GB, free: 28.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4337, allocations: 63.34 kB / 0.5839 GB, free: 28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.435, allocations: 0.9638 MB / 0.5848 GB, free: 27.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.4351, allocations: 40.55 kB / 0.5849 GB, free: 27.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.4354, allocations: 472.1 kB / 0.5853 GB, free: 27.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.4356, allocations: 262.8 kB / 0.5856 GB, free: 26.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4357, allocations: 98.31 kB / 0.5857 GB, free: 26.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.4358, allocations: 345.7 kB / 0.586 GB, free: 26.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4368, allocations: 0.5483 MB / 0.5865 GB, free: 26.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4379, allocations: 0.6733 MB / 0.5872 GB, free: 26.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/0.453, allocations: 4.038 MB / 0.5911 GB, free: 24.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.4531, allocations: 0 / 0.5911 GB, free: 24.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008339/0.4614, allocations: 2.836 MB / 0.5939 GB, free: 24.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4615, allocations: 5.5 kB / 0.5939 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4615, allocations: 2.75 kB / 0.5939 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.466, allocations: 1.269 MB / 0.5951 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.4669, allocations: 190.6 kB / 0.5953 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.4775, allocations: 5.234 MB / 0.6004 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.479, allocations: 148.1 kB / 0.6006 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.4792, allocations: 34.91 kB / 0.6006 GB, free: 21.06 MB / 426.7 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.0005278/0.4798, allocations: 236.8 kB / 0.6008 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.4801, allocations: 119.4 kB / 0.601 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008587/0.4886, allocations: 2.652 MB / 0.6035 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4887, allocations: 8.531 kB / 0.6035 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4887, allocations: 1.156 kB / 0.6035 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4887, allocations: 3.469 kB / 0.6036 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/0.4982, allocations: 4.027 MB / 0.6075 GB, free: 17.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4982, allocations: 4 kB / 0.6075 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4987, allocations: 90.62 kB / 0.6076 GB, free: 17.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004448/0.5031, allocations: 1.318 MB / 0.6089 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.5033, allocations: 20.73 kB / 0.6089 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.5142, allocations: 5.458 MB / 0.6142 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5142, allocations: 0 / 0.6142 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008864/0.5231, allocations: 3.371 MB / 0.6175 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.5235, allocations: 199.7 kB / 0.6177 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.5237, allocations: 16 kB / 0.6177 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/0.5247, allocations: 91.89 kB / 0.6178 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/0.5252, allocations: 152.3 kB / 0.6179 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.5253, allocations: 19.94 kB / 0.618 GB, free: 9.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008718/0.5262, allocations: 0.6631 MB / 0.6186 GB, free: 8.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5262, allocations: 0 / 0.6186 GB, free: 8.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001184/0.5274, allocations: 351.8 kB / 0.6189 GB, free: 8.316 MB / 426.7 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.008928/0.5363, allocations: 3.941 MB / 0.6228 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.5405, allocations: 1.844 MB / 0.6246 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5406, allocations: 0 / 0.6246 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.5435, allocations: 1.189 MB / 0.6258 GB, free: 1.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5449, allocations: 96.39 kB / 0.6258 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/0.5725, allocations: 12.83 MB / 0.6384 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.5733, allocations: 1.045 MB / 0.6394 GB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.5737, allocations: 106.6 kB / 0.6395 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.5743, allocations: 399.3 kB / 0.6399 GB, free: 2.371 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5743, allocations: 0 / 0.6399 GB, free: 2.371 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/0.6161, allocations: 25.47 MB / 0.6648 GB, free: 9.098 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.6163, allocations: 211.2 kB / 0.665 GB, free: 8.844 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.229, allocations: 0 / 0.665 GB, free: 8.844 MB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)