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.001553/0.001553, allocations: 108 kB / 15.6 MB, free: 132 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.346/1.346, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001378/0.001378, allocations: 188.5 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5448/0.5448, allocations: 91.9 MB / 431.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 83.88 kB / 0.5019 GB, free: 7.727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3247, allocations: 71.26 MB / 0.5714 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00524/0.33, allocations: 6.018 MB / 0.5773 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.3331, allocations: 1.847 MB / 0.5791 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.3336, allocations: 14.69 kB / 0.5791 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.3342, allocations: 216 kB / 0.5793 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3356, allocations: 0.6992 MB / 0.58 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.3366, allocations: 0.5484 MB / 0.5806 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.3376, allocations: 1.414 MB / 0.5819 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.338, allocations: 284.8 kB / 0.5822 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.3385, allocations: 0.5553 MB / 0.5828 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.3391, allocations: 0.651 MB / 0.5834 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3392, allocations: 100.9 kB / 0.5835 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.3396, allocations: 234.9 kB / 0.5837 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3398, allocations: 260.5 kB / 0.584 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.3401, allocations: 0.5713 MB / 0.5845 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.3411, allocations: 1.38 MB / 0.5859 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3411, allocations: 3.938 kB / 0.5859 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3411, allocations: 0 / 0.5859 GB, free: 28.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3411, allocations: 0 / 0.5859 GB, free: 28.54 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.006439/0.3476, allocations: 2.232 MB / 0.5881 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3476, allocations: 13.84 kB / 0.5881 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.3511, allocations: 0.551 MB / 0.5886 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3522, allocations: 0.7869 MB / 0.5894 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3525, allocations: 208.6 kB / 0.5896 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3526, allocations: 62.94 kB / 0.5896 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3541, allocations: 0.8303 MB / 0.5904 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3542, allocations: 7.922 kB / 0.5905 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.3542, allocations: 29.41 kB / 0.5905 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3543, allocations: 22.56 kB / 0.5905 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.356, allocations: 0.8478 MB / 0.5913 GB, free: 25.97 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.005316/0.3613, allocations: 3.05 MB / 0.5943 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/0.3675, allocations: 1.712 MB / 0.596 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.3688, allocations: 0.5543 MB / 0.5965 GB, free: 23.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/0.3689, allocations: 8.438 kB / 0.5965 GB, free: 23.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.3702, allocations: 0.6196 MB / 0.5971 GB, free: 22.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.316e-06/0.3702, allocations: 0 / 0.5971 GB, free: 22.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01911/0.3894, allocations: 4.7 MB / 0.6017 GB, free: 21.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3894, allocations: 63.84 kB / 0.6018 GB, free: 21.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.3909, allocations: 0.9673 MB / 0.6027 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.3911, allocations: 40.39 kB / 0.6028 GB, free: 21.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.3914, allocations: 470.1 kB / 0.6032 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.3917, allocations: 262.5 kB / 0.6035 GB, free: 20.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.392, allocations: 178.8 kB / 0.6036 GB, free: 20.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.3921, allocations: 347.8 kB / 0.604 GB, free: 20.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.3933, allocations: 0.5495 MB / 0.6045 GB, free: 20.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3946, allocations: 0.6701 MB / 0.6052 GB, free: 19.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/0.4129, allocations: 4.056 MB / 0.6091 GB, free: 18.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.413, allocations: 0.75 kB / 0.6091 GB, free: 18.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009964/0.4229, allocations: 2.832 MB / 0.6119 GB, free: 17.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.423, allocations: 10.09 kB / 0.6119 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.423, allocations: 6.359 kB / 0.6119 GB, free: 17.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/0.4279, allocations: 1.265 MB / 0.6131 GB, free: 17.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4293, allocations: 186.1 kB / 0.6133 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.4413, allocations: 5.691 MB / 0.6189 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.4429, allocations: 158.9 kB / 0.619 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4431, allocations: 39.98 kB / 0.6191 GB, free: 13.29 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.0004933/0.4436, allocations: 225.6 kB / 0.6193 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4439, allocations: 114.6 kB / 0.6194 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/0.4519, allocations: 2.649 MB / 0.622 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4519, allocations: 11.98 kB / 0.622 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.452, allocations: 0 / 0.622 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.452, allocations: 7.984 kB / 0.622 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009932/0.4619, allocations: 4.029 MB / 0.6259 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.462, allocations: 0 / 0.6259 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.4625, allocations: 87.81 kB / 0.626 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004601/0.4671, allocations: 1.319 MB / 0.6273 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.4673, allocations: 19.98 kB / 0.6273 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.4798, allocations: 6.013 MB / 0.6332 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4798, allocations: 7.922 kB / 0.6332 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.4906, allocations: 3.364 MB / 0.6365 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.4912, allocations: 203.6 kB / 0.6367 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.4915, allocations: 15.92 kB / 0.6367 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.4927, allocations: 87.91 kB / 0.6368 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.4932, allocations: 164.4 kB / 0.6369 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.4933, allocations: 16.09 kB / 0.6369 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.4945, allocations: 0.6631 MB / 0.6376 GB, free: 9.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4945, allocations: 0 / 0.6376 GB, free: 9.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001276/0.4958, allocations: 351.7 kB / 0.6379 GB, free: 9.621 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.0003556/0.4961, allocations: 119.2 kB / 0.638 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005248/0.5014, allocations: 1.902 MB / 0.6399 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5014, allocations: 0.5625 kB / 0.6399 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.5048, allocations: 1.219 MB / 0.6411 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.5056, allocations: 98.44 kB / 0.6412 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.5093, allocations: 1.814 MB / 0.643 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.5099, allocations: 1.042 MB / 0.644 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004144/0.5104, allocations: 98.67 kB / 0.6441 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.5106, allocations: 75.36 kB / 0.6441 GB, free: 3.129 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5106, allocations: 0 / 0.6441 GB, free: 3.129 MB / 446.1 MB Notification: Performance of Templates: time 0.03125/0.5418, allocations: 18.72 MB / 0.6624 GB, free: 448 kB / 462.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)