Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008244/0.0008245, allocations: 92.55 kB / 16.02 MB, free: 80 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.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.531 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.001183/0.001183, allocations: 188.2 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5207/0.5207, allocations: 91.93 MB / 434.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 12 kB / 0.5054 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3818, allocations: 72.47 MB / 0.5762 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004455/0.3863, allocations: 5.889 MB / 0.5819 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.3897, allocations: 1.859 MB / 0.5837 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.3904, allocations: 15.22 kB / 0.5838 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.3909, allocations: 164.2 kB / 0.5839 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3924, allocations: 0.6351 MB / 0.5845 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.3934, allocations: 0.4937 MB / 0.585 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.3946, allocations: 1.353 MB / 0.5863 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.3949, allocations: 246.3 kB / 0.5866 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000604/0.3955, allocations: 0.4887 MB / 0.587 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.3961, allocations: 0.591 MB / 0.5876 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3962, allocations: 52.38 kB / 0.5877 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3966, allocations: 184.5 kB / 0.5879 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3968, allocations: 210.7 kB / 0.5881 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.3971, allocations: 0.5347 MB / 0.5886 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.3979, allocations: 1.016 MB / 0.5896 GB, free: 28.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3979, allocations: 2.688 kB / 0.5896 GB, free: 28.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3979, allocations: 0 / 0.5896 GB, free: 28.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.3979, allocations: 0 / 0.5896 GB, free: 28.75 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.006385/0.4043, allocations: 2.081 MB / 0.5916 GB, free: 27.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4044, allocations: 13.34 kB / 0.5916 GB, free: 27.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.4078, allocations: 0.5568 MB / 0.5922 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4092, allocations: 0.7839 MB / 0.5929 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.4094, allocations: 218 kB / 0.5931 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4096, allocations: 66.52 kB / 0.5932 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4113, allocations: 0.8775 MB / 0.5941 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4113, allocations: 0 / 0.5941 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.4114, allocations: 32.75 kB / 0.5941 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4114, allocations: 19.47 kB / 0.5941 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.4133, allocations: 0.9091 MB / 0.595 GB, free: 26.29 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.005225/0.4185, allocations: 3.097 MB / 0.598 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006639/0.4252, allocations: 1.983 MB / 0.6 GB, free: 23.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.4265, allocations: 0.594 MB / 0.6005 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.4266, allocations: 17.14 kB / 0.6005 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.4281, allocations: 0.669 MB / 0.6012 GB, free: 23.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.497e-06/0.4281, allocations: 0 / 0.6012 GB, free: 23.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.021/0.4491, allocations: 5.608 MB / 0.6067 GB, free: 22.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4492, allocations: 58.69 kB / 0.6067 GB, free: 22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.4508, allocations: 0.9641 MB / 0.6077 GB, free: 21.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.451, allocations: 37.64 kB / 0.6077 GB, free: 21.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.4514, allocations: 472.2 kB / 0.6082 GB, free: 21.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4517, allocations: 273.4 kB / 0.6084 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4518, allocations: 91.77 kB / 0.6085 GB, free: 20.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.4519, allocations: 342.9 kB / 0.6088 GB, free: 20.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4532, allocations: 0.601 MB / 0.6094 GB, free: 20.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.4545, allocations: 0.7182 MB / 0.6101 GB, free: 20.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01827/0.4728, allocations: 4.448 MB / 0.6145 GB, free: 18.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.4729, allocations: 0 / 0.6145 GB, free: 18.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01024/0.4831, allocations: 3.34 MB / 0.6177 GB, free: 18.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4832, allocations: 6.906 kB / 0.6177 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4832, allocations: 2.406 kB / 0.6177 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/0.4884, allocations: 1.486 MB / 0.6192 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.4894, allocations: 203.7 kB / 0.6194 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.5007, allocations: 5.726 MB / 0.625 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5024, allocations: 179 kB / 0.6251 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.5026, allocations: 39.98 kB / 0.6252 GB, free: 10.93 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.0006199/0.5033, allocations: 225.6 kB / 0.6254 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.5036, allocations: 118.5 kB / 0.6255 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008975/0.5126, allocations: 3.161 MB / 0.6286 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5127, allocations: 12 kB / 0.6286 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5127, allocations: 4 kB / 0.6286 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.5127, allocations: 7.969 kB / 0.6286 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.523, allocations: 4.517 MB / 0.633 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.523, allocations: 4 kB / 0.633 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.5235, allocations: 99.88 kB / 0.6331 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/0.5283, allocations: 1.526 MB / 0.6346 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.5285, allocations: 19.98 kB / 0.6346 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.5415, allocations: 5.896 MB / 0.6404 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5416, allocations: 0 / 0.6404 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.5531, allocations: 3.938 MB / 0.6442 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.5536, allocations: 203.7 kB / 0.6444 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.554, allocations: 12 kB / 0.6445 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5553, allocations: 111.9 kB / 0.6446 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/0.5558, allocations: 160.3 kB / 0.6447 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.5559, allocations: 23.94 kB / 0.6447 GB, free: 6.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.5571, allocations: 0.6592 MB / 0.6454 GB, free: 5.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5571, allocations: 4 kB / 0.6454 GB, free: 5.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00136/0.5585, allocations: 347.7 kB / 0.6457 GB, free: 5.562 MB / 446.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.0003001/0.5588, allocations: 123.2 kB / 0.6458 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005365/0.5642, allocations: 2.043 MB / 0.6478 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5642, allocations: 0 / 0.6478 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.5679, allocations: 1.34 MB / 0.6491 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5691, allocations: 97.81 kB / 0.6492 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.573, allocations: 2.246 MB / 0.6514 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.5736, allocations: 1.046 MB / 0.6524 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.574, allocations: 67.42 kB / 0.6525 GB, free: 14.47 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.574, allocations: 3.938 kB / 0.6525 GB, free: 14.46 MB / 462.1 MB Notification: Performance of Templates: time 0.02837/0.6024, allocations: 21.66 MB / 0.6737 GB, free: 8.793 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)