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.001119/0.001119, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.298/1.298, allocations: 222.9 MB / 240 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.00132/0.001321, allocations: 184.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4432/0.4432, allocations: 78.53 MB / 419 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 79.88 kB / 498.9 MB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1219, allocations: 68.18 MB / 0.5538 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.1836/0.3056, allocations: 6.012 MB / 0.5596 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.3083, allocations: 1.837 MB / 0.5614 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.3086, allocations: 16.91 kB / 0.5615 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.3091, allocations: 206.1 kB / 0.5617 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.3104, allocations: 0.697 MB / 0.5623 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.3113, allocations: 0.5566 MB / 0.5629 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.3123, allocations: 1.415 MB / 0.5643 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3126, allocations: 277.3 kB / 0.5645 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.3131, allocations: 0.5587 MB / 0.5651 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.3137, allocations: 0.6539 MB / 0.5657 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3138, allocations: 97.56 kB / 0.5658 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.3142, allocations: 232.1 kB / 0.566 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.3143, allocations: 265.9 kB / 0.5663 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.3147, allocations: 0.5651 MB / 0.5668 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.3156, allocations: 1.4 MB / 0.5682 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3157, allocations: 0 / 0.5682 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3157, allocations: 0.75 kB / 0.5682 GB, free: 34.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3157, allocations: 0 / 0.5682 GB, free: 34.47 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.006245/0.3219, allocations: 2.238 MB / 0.5704 GB, free: 33.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.322, allocations: 8.594 kB / 0.5704 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.3253, allocations: 0.5526 MB / 0.5709 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.3265, allocations: 0.7986 MB / 0.5717 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3267, allocations: 205.1 kB / 0.5719 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3268, allocations: 66.94 kB / 0.572 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.3282, allocations: 0.8348 MB / 0.5728 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3283, allocations: 6.375 kB / 0.5728 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.3283, allocations: 26.03 kB / 0.5728 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3284, allocations: 18.78 kB / 0.5728 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3299, allocations: 0.8468 MB / 0.5737 GB, free: 32.92 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.004512/0.3344, allocations: 3.04 MB / 0.5766 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005347/0.3398, allocations: 1.711 MB / 0.5783 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.3407, allocations: 0.5441 MB / 0.5788 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.3408, allocations: 12.47 kB / 0.5788 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.3419, allocations: 0.6168 MB / 0.5794 GB, free: 31.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.444e-06/0.3419, allocations: 0 / 0.5794 GB, free: 31.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01677/0.3587, allocations: 4.703 MB / 0.584 GB, free: 29.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.3587, allocations: 63.62 kB / 0.5841 GB, free: 29.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.36, allocations: 0.9673 MB / 0.585 GB, free: 29.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/0.3601, allocations: 35.95 kB / 0.5851 GB, free: 29.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.3603, allocations: 467.2 kB / 0.5855 GB, free: 29.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3605, allocations: 269.6 kB / 0.5858 GB, free: 28.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.3608, allocations: 177.8 kB / 0.5859 GB, free: 28.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.3609, allocations: 348.1 kB / 0.5863 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.3619, allocations: 0.5471 MB / 0.5868 GB, free: 28.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3631, allocations: 0.6668 MB / 0.5875 GB, free: 27.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/0.3791, allocations: 4.046 MB / 0.5914 GB, free: 26.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3791, allocations: 0 / 0.5914 GB, free: 26.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008214/0.3873, allocations: 2.837 MB / 0.5942 GB, free: 26.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3874, allocations: 6.969 kB / 0.5942 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3874, allocations: 3.969 kB / 0.5942 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004434/0.3918, allocations: 1.263 MB / 0.5954 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.3928, allocations: 189 kB / 0.5956 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.4041, allocations: 5.676 MB / 0.6012 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4056, allocations: 152.3 kB / 0.6013 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4057, allocations: 38.45 kB / 0.6013 GB, free: 22.7 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.0004095/0.4061, allocations: 232.6 kB / 0.6016 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4063, allocations: 112 kB / 0.6017 GB, free: 22.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008188/0.4145, allocations: 2.656 MB / 0.6043 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4145, allocations: 12.69 kB / 0.6043 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4145, allocations: 0 / 0.6043 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4145, allocations: 8.078 kB / 0.6043 GB, free: 21.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009615/0.4241, allocations: 4.022 MB / 0.6082 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4242, allocations: 0 / 0.6082 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.4247, allocations: 95.59 kB / 0.6083 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004402/0.4291, allocations: 1.316 MB / 0.6096 GB, free: 19.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.4292, allocations: 17.44 kB / 0.6096 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.4403, allocations: 6.011 MB / 0.6155 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4404, allocations: 0 / 0.6155 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008593/0.449, allocations: 3.373 MB / 0.6188 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.4493, allocations: 203.6 kB / 0.619 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4495, allocations: 17.12 kB / 0.619 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.4504, allocations: 85.02 kB / 0.6191 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.4509, allocations: 160.4 kB / 0.6192 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.4509, allocations: 16 kB / 0.6192 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008051/0.4517, allocations: 0.6631 MB / 0.6199 GB, free: 10.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4518, allocations: 0 / 0.6199 GB, free: 10.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009997/0.4528, allocations: 347.7 kB / 0.6202 GB, free: 10.13 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.0001974/0.453, allocations: 119.2 kB / 0.6203 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004118/0.4571, allocations: 1.875 MB / 0.6221 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4571, allocations: 1.406 kB / 0.6221 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002883/0.46, allocations: 1.208 MB / 0.6233 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.4609, allocations: 94.83 kB / 0.6234 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.4636, allocations: 1.797 MB / 0.6252 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.464, allocations: 1.046 MB / 0.6262 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.4643, allocations: 93.08 kB / 0.6263 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.4645, allocations: 67.42 kB / 0.6263 GB, free: 3.727 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4645, allocations: 0 / 0.6263 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Templates: time 0.02711/0.4916, allocations: 18.76 MB / 0.6447 GB, free: 1.16 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)