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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008449/0.000845, allocations: 181.2 kB / 15.45 MB, free: 6.227 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.234/1.234, allocations: 223.3 MB / 239.5 MB, free: 1.598 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.0008368/0.0008369, allocations: 105.4 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4519/0.4519, allocations: 78.61 MB / 420.4 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 15.98 kB / 0.4888 GB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3256, allocations: 69.35 MB / 0.5565 GB, free: 39.09 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004663/0.3303, allocations: 5.874 MB / 0.5622 GB, free: 36.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.3336, allocations: 1.855 MB / 0.564 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.3342, allocations: 15.06 kB / 0.5641 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.3347, allocations: 164 kB / 0.5642 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.3362, allocations: 0.624 MB / 0.5648 GB, free: 35.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3373, allocations: 0.5071 MB / 0.5653 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.3394, allocations: 1.343 MB / 0.5666 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.3399, allocations: 251.7 kB / 0.5669 GB, free: 34.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007879/0.3407, allocations: 0.4922 MB / 0.5674 GB, free: 34.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.3413, allocations: 0.594 MB / 0.5679 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3414, allocations: 50.53 kB / 0.568 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.3419, allocations: 180.5 kB / 0.5682 GB, free: 34.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.3421, allocations: 210.1 kB / 0.5684 GB, free: 34.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.3425, allocations: 0.5362 MB / 0.5689 GB, free: 33.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3437, allocations: 1.307 MB / 0.5702 GB, free: 33.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3437, allocations: 6.812 kB / 0.5702 GB, free: 33.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3437, allocations: 0 / 0.5702 GB, free: 33.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.3437, allocations: 0 / 0.5702 GB, free: 33.39 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.006112/0.3499, allocations: 2.071 MB / 0.5722 GB, free: 32.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3499, allocations: 9.312 kB / 0.5722 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.3532, allocations: 0.5635 MB / 0.5727 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.3544, allocations: 0.7786 MB / 0.5735 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.3546, allocations: 221.5 kB / 0.5737 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3547, allocations: 67.67 kB / 0.5738 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3561, allocations: 0.889 MB / 0.5746 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3562, allocations: 4 kB / 0.5746 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.3562, allocations: 25.38 kB / 0.5747 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3563, allocations: 19.97 kB / 0.5747 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.3578, allocations: 0.91 MB / 0.5756 GB, free: 30.93 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.00448/0.3623, allocations: 3.097 MB / 0.5786 GB, free: 29.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.3677, allocations: 1.971 MB / 0.5805 GB, free: 28.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.3687, allocations: 0.605 MB / 0.5811 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.3688, allocations: 17.55 kB / 0.5811 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.37, allocations: 0.6646 MB / 0.5818 GB, free: 27.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.126e-06/0.37, allocations: 0 / 0.5818 GB, free: 27.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01666/0.3866, allocations: 5.611 MB / 0.5873 GB, free: 26.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3867, allocations: 59.53 kB / 0.5873 GB, free: 26.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.388, allocations: 0.9686 MB / 0.5883 GB, free: 26.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.388, allocations: 41.3 kB / 0.5883 GB, free: 26.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3883, allocations: 471.2 kB / 0.5888 GB, free: 25.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3885, allocations: 266.4 kB / 0.589 GB, free: 25.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3886, allocations: 94.89 kB / 0.5891 GB, free: 25.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.3887, allocations: 340.2 kB / 0.5894 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3897, allocations: 0.5983 MB / 0.59 GB, free: 25.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.3908, allocations: 0.7232 MB / 0.5907 GB, free: 24.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/0.4066, allocations: 4.446 MB / 0.5951 GB, free: 23.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4066, allocations: 0 / 0.5951 GB, free: 23.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008332/0.415, allocations: 3.334 MB / 0.5983 GB, free: 22.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.415, allocations: 11.58 kB / 0.5983 GB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.415, allocations: 6.141 kB / 0.5983 GB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/0.4195, allocations: 1.474 MB / 0.5998 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.4205, allocations: 201.3 kB / 0.6 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.4317, allocations: 5.74 MB / 0.6056 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4331, allocations: 179.4 kB / 0.6057 GB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.4333, allocations: 36.14 kB / 0.6058 GB, free: 19.5 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.0004949/0.4338, allocations: 231.8 kB / 0.606 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.434, allocations: 116 kB / 0.6061 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008809/0.4428, allocations: 3.167 MB / 0.6092 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4428, allocations: 7.453 kB / 0.6092 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4429, allocations: 1.344 kB / 0.6092 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4429, allocations: 4.359 kB / 0.6092 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.4529, allocations: 4.532 MB / 0.6136 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.453, allocations: 8 kB / 0.6136 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.4535, allocations: 91.89 kB / 0.6137 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004428/0.4579, allocations: 1.529 MB / 0.6152 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.458, allocations: 16 kB / 0.6152 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.4688, allocations: 5.907 MB / 0.621 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4688, allocations: 0 / 0.621 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/0.4776, allocations: 3.918 MB / 0.6248 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.478, allocations: 203.6 kB / 0.625 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.4781, allocations: 15.98 kB / 0.625 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.479, allocations: 115.9 kB / 0.6252 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/0.4794, allocations: 156.4 kB / 0.6253 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.4795, allocations: 23.98 kB / 0.6253 GB, free: 2.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008313/0.4803, allocations: 0.6592 MB / 0.626 GB, free: 2.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4804, allocations: 7.938 kB / 0.626 GB, free: 2.254 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001035/0.4814, allocations: 351.7 kB / 0.6263 GB, free: 1.91 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.0002038/0.4816, allocations: 123.2 kB / 0.6264 GB, free: 1.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.4859, allocations: 2.043 MB / 0.6284 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4859, allocations: 0 / 0.6284 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.489, allocations: 1.33 MB / 0.6297 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.4898, allocations: 92.39 kB / 0.6298 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.493, allocations: 2.198 MB / 0.632 GB, free: 12.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.4936, allocations: 1.046 MB / 0.633 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.4939, allocations: 106.7 kB / 0.6331 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4941, allocations: 63.42 kB / 0.6331 GB, free: 10.79 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4941, allocations: 0 / 0.6331 GB, free: 10.79 MB / 442.7 MB Notification: Performance of Templates: time 0.02624/0.5204, allocations: 16.56 MB / 0.6493 GB, free: 10.27 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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 & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)