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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.433/1.433, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001114/0.001114, allocations: 176.5 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4818/0.4818, allocations: 78.55 MB / 420.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004284, allocations: 12 kB / 0.4887 GB, free: 6.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 69.36 MB / 0.5564 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2682/0.4242, allocations: 5.866 MB / 0.5621 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003945/0.4282, allocations: 1.863 MB / 0.5639 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000901/0.4291, allocations: 17.09 kB / 0.564 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.4297, allocations: 160.5 kB / 0.5641 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.4315, allocations: 0.6245 MB / 0.5647 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4325, allocations: 0.4995 MB / 0.5652 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.4338, allocations: 1.347 MB / 0.5665 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.4341, allocations: 243.4 kB / 0.5668 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.4347, allocations: 0.4973 MB / 0.5672 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.4352, allocations: 0.5922 MB / 0.5678 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4353, allocations: 49.81 kB / 0.5679 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.4357, allocations: 179.5 kB / 0.568 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4359, allocations: 207.4 kB / 0.5682 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.4362, allocations: 0.5389 MB / 0.5688 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009034/0.4371, allocations: 1.312 MB / 0.57 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4371, allocations: 1.531 kB / 0.57 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4372, allocations: 2.5 kB / 0.57 GB, free: 33.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.4372, allocations: 0 / 0.57 GB, free: 33.93 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.006326/0.4435, allocations: 2.072 MB / 0.5721 GB, free: 33.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4436, allocations: 9.094 kB / 0.5721 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.447, allocations: 0.5559 MB / 0.5726 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.4486, allocations: 0.7878 MB / 0.5734 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.4488, allocations: 216.2 kB / 0.5736 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.449, allocations: 64.78 kB / 0.5737 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.4507, allocations: 0.8815 MB / 0.5745 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4507, allocations: 0.75 kB / 0.5745 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.4508, allocations: 27.91 kB / 0.5745 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4509, allocations: 21.62 kB / 0.5746 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.4526, allocations: 0.9147 MB / 0.5755 GB, free: 32.42 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.005411/0.458, allocations: 3.1 MB / 0.5785 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.4643, allocations: 1.969 MB / 0.5804 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.4655, allocations: 0.5983 MB / 0.581 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-05/0.4656, allocations: 17.28 kB / 0.581 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.4669, allocations: 0.6713 MB / 0.5817 GB, free: 30.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.535e-06/0.4669, allocations: 0 / 0.5817 GB, free: 30.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.02052/0.4874, allocations: 5.616 MB / 0.5871 GB, free: 29.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4875, allocations: 62.67 kB / 0.5872 GB, free: 29.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4891, allocations: 0.9614 MB / 0.5881 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.4893, allocations: 39.27 kB / 0.5882 GB, free: 29.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.4897, allocations: 472.4 kB / 0.5886 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.49, allocations: 272.5 kB / 0.5889 GB, free: 28.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4902, allocations: 87.67 kB / 0.589 GB, free: 28.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.4902, allocations: 343.9 kB / 0.5893 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.4915, allocations: 0.6005 MB / 0.5899 GB, free: 27.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4929, allocations: 0.7182 MB / 0.5906 GB, free: 27.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.5113, allocations: 4.449 MB / 0.5949 GB, free: 26.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.5113, allocations: 0 / 0.5949 GB, free: 26.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.011/0.5224, allocations: 3.329 MB / 0.5982 GB, free: 25.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5224, allocations: 6.562 kB / 0.5982 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.5224, allocations: 3.344 kB / 0.5982 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/0.528, allocations: 1.486 MB / 0.5997 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.5291, allocations: 193.7 kB / 0.5998 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.5422, allocations: 5.732 MB / 0.6054 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.5442, allocations: 180.9 kB / 0.6056 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.5444, allocations: 35.62 kB / 0.6056 GB, free: 22.43 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.0008139/0.5453, allocations: 233.7 kB / 0.6059 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/0.5457, allocations: 115.3 kB / 0.606 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.556, allocations: 3.165 MB / 0.6091 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.556, allocations: 6.531 kB / 0.6091 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.556, allocations: 3.922 kB / 0.6091 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5561, allocations: 3.562 kB / 0.6091 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.5679, allocations: 4.53 MB / 0.6135 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.568, allocations: 0 / 0.6135 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.5685, allocations: 104.4 kB / 0.6136 GB, free: 18.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004889/0.5734, allocations: 1.528 MB / 0.6151 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.5736, allocations: 19.98 kB / 0.6151 GB, free: 17.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.5855, allocations: 5.893 MB / 0.6209 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5855, allocations: 1.781 kB / 0.6209 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.5961, allocations: 3.931 MB / 0.6247 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.5966, allocations: 199.7 kB / 0.6249 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.597, allocations: 16 kB / 0.6249 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.5982, allocations: 115.9 kB / 0.625 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/0.5987, allocations: 160.3 kB / 0.6252 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.5988, allocations: 19.94 kB / 0.6252 GB, free: 6.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.5999, allocations: 0.6592 MB / 0.6258 GB, free: 6.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5999, allocations: 0 / 0.6258 GB, free: 6.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001373/0.6013, allocations: 351.8 kB / 0.6262 GB, free: 5.879 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.0002679/0.6015, allocations: 127.1 kB / 0.6263 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005168/0.6067, allocations: 2.038 MB / 0.6283 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6068, allocations: 0 / 0.6283 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.6103, allocations: 1.337 MB / 0.6296 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6116, allocations: 98.67 kB / 0.6297 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.6152, allocations: 2.204 MB / 0.6318 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.616, allocations: 1.053 MB / 0.6329 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.6165, allocations: 94.69 kB / 0.633 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6167, allocations: 59.42 kB / 0.633 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6168, allocations: 0 / 0.633 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Templates: time 0.0317/0.6485, allocations: 16.57 MB / 0.6492 GB, free: 14.39 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) Environment - environmentSimulation: