Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07576/0.07576, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007126/0.0007126, allocations: 103.5 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.4 MB / 239.5 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 184 kB / 290.6 MB, free: 11.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4377/0.4377, allocations: 78.53 MB / 420.1 MB, free: 11.51 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008662/0.0008663, allocations: 24 kB / 0.4894 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.279, allocations: 69.24 MB / 0.5571 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004115/0.2831, allocations: 5.565 MB / 0.5625 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.2857, allocations: 1.756 MB / 0.5642 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.2861, allocations: 15.94 kB / 0.5642 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.2866, allocations: 150.9 kB / 0.5644 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.2877, allocations: 0.575 MB / 0.5649 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.2885, allocations: 459 kB / 0.5654 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.2894, allocations: 1.261 MB / 0.5666 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.2897, allocations: 223.5 kB / 0.5668 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004447/0.2902, allocations: 0.4899 MB / 0.5673 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.2907, allocations: 0.5715 MB / 0.5679 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.2908, allocations: 52 kB / 0.5679 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2911, allocations: 171.9 kB / 0.5681 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2912, allocations: 206.9 kB / 0.5683 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2914, allocations: 209 kB / 0.5685 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.292, allocations: 1.013 MB / 0.5695 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.292, allocations: 4 kB / 0.5695 GB, free: 8.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.292, allocations: 0 / 0.5695 GB, free: 8.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.2921, allocations: 0 / 0.5695 GB, free: 8.449 MB / 382.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.005354/0.2974, allocations: 2.088 MB / 0.5715 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2975, allocations: 15.98 kB / 0.5715 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.3005, allocations: 0.5527 MB / 0.572 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3015, allocations: 0.7455 MB / 0.5728 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3017, allocations: 221.8 kB / 0.573 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3019, allocations: 60 kB / 0.573 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3033, allocations: 0.8809 MB / 0.5739 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3033, allocations: 0 / 0.5739 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.3034, allocations: 35.98 kB / 0.5739 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3034, allocations: 12 kB / 0.574 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.305, allocations: 0.907 MB / 0.5748 GB, free: 2.789 MB / 382.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.004216/0.3092, allocations: 3.097 MB / 0.5779 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005788/0.315, allocations: 1.979 MB / 0.5798 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3161, allocations: 0.6003 MB / 0.5804 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.3162, allocations: 20.64 kB / 0.5804 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.3175, allocations: 0.6524 MB / 0.581 GB, free: 12.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/0.3175, allocations: 0 / 0.581 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01742/0.3349, allocations: 5.593 MB / 0.5865 GB, free: 6.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.335, allocations: 60.06 kB / 0.5866 GB, free: 6.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.3365, allocations: 0.9582 MB / 0.5875 GB, free: 5.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.3366, allocations: 37.7 kB / 0.5875 GB, free: 5.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.337, allocations: 468.2 kB / 0.588 GB, free: 5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.3374, allocations: 276.2 kB / 0.5882 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.3374, allocations: 20 kB / 0.5883 GB, free: 4.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3376, allocations: 341.9 kB / 0.5886 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.3388, allocations: 0.5915 MB / 0.5892 GB, free: 3.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.34, allocations: 0.7141 MB / 0.5899 GB, free: 3.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3413, allocations: 0.6482 MB / 0.5905 GB, free: 2.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3413, allocations: 0 / 0.5905 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008486/0.3498, allocations: 3.316 MB / 0.5937 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3498, allocations: 4 kB / 0.5937 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3499, allocations: 15.94 kB / 0.5937 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004586/0.3544, allocations: 1.478 MB / 0.5952 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.3554, allocations: 191.7 kB / 0.5954 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.367, allocations: 5.739 MB / 0.601 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.3684, allocations: 183 kB / 0.6012 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.3686, allocations: 35.98 kB / 0.6012 GB, free: 7.27 MB / 414.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004753/0.3691, allocations: 227.1 kB / 0.6014 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.3693, allocations: 118.6 kB / 0.6015 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/0.3778, allocations: 3.149 MB / 0.6046 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3778, allocations: 8 kB / 0.6046 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3778, allocations: 0 / 0.6046 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3778, allocations: 7.938 kB / 0.6046 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009868/0.3877, allocations: 4.525 MB / 0.609 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3878, allocations: 7.984 kB / 0.609 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.3883, allocations: 95.89 kB / 0.6091 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004575/0.3928, allocations: 1.529 MB / 0.6106 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.3929, allocations: 16 kB / 0.6106 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.4053, allocations: 5.884 MB / 0.6164 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4053, allocations: 0 / 0.6164 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009739/0.415, allocations: 3.922 MB / 0.6202 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.4154, allocations: 199.7 kB / 0.6204 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.4157, allocations: 15.98 kB / 0.6204 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.4167, allocations: 119.9 kB / 0.6205 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/0.4171, allocations: 156.3 kB / 0.6207 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.4172, allocations: 23.98 kB / 0.6207 GB, free: 2.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.4182, allocations: 0.6514 MB / 0.6213 GB, free: 2.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4182, allocations: 0 / 0.6213 GB, free: 2.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001275/0.4195, allocations: 351.8 kB / 0.6217 GB, free: 1.945 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.4198, allocations: 123.2 kB / 0.6218 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004653/0.4245, allocations: 2.042 MB / 0.6238 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4245, allocations: 0 / 0.6238 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003153/0.4277, allocations: 1.332 MB / 0.6251 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4287, allocations: 96.39 kB / 0.6252 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.4324, allocations: 2.096 MB / 0.6272 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.433, allocations: 1.046 MB / 0.6282 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003942/0.4334, allocations: 102.7 kB / 0.6283 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.4337, allocations: 55.44 kB / 0.6284 GB, free: 10.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4337, allocations: 0 / 0.6284 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Templates: time 0.02704/0.4607, allocations: 16.1 MB / 0.6441 GB, free: 10.86 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) Environment - environmentSimulation: