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.0009197/0.0009197, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.282/1.282, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.00124/0.00124, allocations: 185 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4564/0.4564, allocations: 78.52 MB / 419.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005267, allocations: 8 kB / 499.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 69.36 MB / 0.5557 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.1968/0.3296, allocations: 5.239 MB / 0.5608 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3326, allocations: 1.813 MB / 0.5626 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.3332, allocations: 16.41 kB / 0.5626 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3338, allocations: 150.9 kB / 0.5627 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.3352, allocations: 0.641 MB / 0.5633 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.3362, allocations: 449.6 kB / 0.5638 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3373, allocations: 0.8842 MB / 0.5646 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.3377, allocations: 225.4 kB / 0.5649 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.3382, allocations: 0.5038 MB / 0.5653 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.3388, allocations: 0.5577 MB / 0.5659 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/0.3389, allocations: 48.97 kB / 0.5659 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.3392, allocations: 160.1 kB / 0.5661 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3394, allocations: 204.8 kB / 0.5663 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3396, allocations: 204.5 kB / 0.5665 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.3403, allocations: 0.9886 MB / 0.5674 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3403, allocations: 0 / 0.5674 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3403, allocations: 0 / 0.5674 GB, free: 36.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3404, allocations: 0 / 0.5674 GB, free: 36.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.006059/0.3464, allocations: 2.091 MB / 0.5695 GB, free: 35.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3465, allocations: 10 kB / 0.5695 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.3498, allocations: 0.5597 MB / 0.57 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.3513, allocations: 0.7429 MB / 0.5708 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.3515, allocations: 214.8 kB / 0.571 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3517, allocations: 68.69 kB / 0.571 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3534, allocations: 0.8758 MB / 0.5719 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3534, allocations: 0 / 0.5719 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.3535, allocations: 29.25 kB / 0.5719 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3535, allocations: 20.95 kB / 0.5719 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.3552, allocations: 0.9063 MB / 0.5728 GB, free: 35.33 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.005771/0.3609, allocations: 3.302 MB / 0.5761 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/0.3667, allocations: 1.972 MB / 0.578 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3668, allocations: 18.09 kB / 0.578 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.368, allocations: 0.6538 MB / 0.5786 GB, free: 32.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.765e-06/0.368, allocations: 0 / 0.5786 GB, free: 32.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01812/0.3861, allocations: 5.585 MB / 0.5841 GB, free: 31.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3862, allocations: 63.19 kB / 0.5841 GB, free: 31.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3875, allocations: 0.9582 MB / 0.5851 GB, free: 30.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3877, allocations: 40.17 kB / 0.5851 GB, free: 30.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3879, allocations: 470 kB / 0.5856 GB, free: 30.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.3882, allocations: 266.5 kB / 0.5858 GB, free: 30.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.3882, allocations: 20.06 kB / 0.5858 GB, free: 30.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.3883, allocations: 348.8 kB / 0.5862 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3894, allocations: 0.5999 MB / 0.5868 GB, free: 29.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.3907, allocations: 0.7146 MB / 0.5875 GB, free: 29.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3919, allocations: 0.6372 MB / 0.5881 GB, free: 29.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3919, allocations: 0 / 0.5881 GB, free: 29.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00879/0.4007, allocations: 3.324 MB / 0.5913 GB, free: 28.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.4008, allocations: 7.5 kB / 0.5913 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4008, allocations: 2.062 kB / 0.5913 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/0.4057, allocations: 1.479 MB / 0.5928 GB, free: 27.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4067, allocations: 199.3 kB / 0.593 GB, free: 27.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.419, allocations: 5.962 MB / 0.5988 GB, free: 24.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4206, allocations: 179.9 kB / 0.599 GB, free: 24.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.4208, allocations: 36.23 kB / 0.599 GB, free: 24.91 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 ($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.0005279/0.4214, allocations: 239.4 kB / 0.5992 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.4216, allocations: 117.7 kB / 0.5993 GB, free: 24.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009318/0.431, allocations: 3.152 MB / 0.6024 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.431, allocations: 10.84 kB / 0.6024 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.431, allocations: 1 kB / 0.6024 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.4311, allocations: 4.922 kB / 0.6024 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.4429, allocations: 4.53 MB / 0.6069 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4429, allocations: 0 / 0.6069 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.4435, allocations: 94.03 kB / 0.6069 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00515/0.4486, allocations: 1.536 MB / 0.6084 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.4488, allocations: 16.31 kB / 0.6085 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.4614, allocations: 6.157 MB / 0.6145 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4615, allocations: 0 / 0.6145 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/0.471, allocations: 3.926 MB / 0.6183 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.4715, allocations: 209.4 kB / 0.6185 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.4717, allocations: 12 kB / 0.6185 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/0.4727, allocations: 115.9 kB / 0.6186 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/0.4732, allocations: 156.4 kB / 0.6188 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.4732, allocations: 21.12 kB / 0.6188 GB, free: 13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008753/0.4741, allocations: 0.6514 MB / 0.6194 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4741, allocations: 0 / 0.6194 GB, free: 12.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001132/0.4753, allocations: 349.5 kB / 0.6198 GB, free: 12 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.0002265/0.4755, allocations: 127.2 kB / 0.6199 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004503/0.48, allocations: 2.044 MB / 0.6219 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4801, allocations: 0 / 0.6219 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00311/0.4832, allocations: 1.332 MB / 0.6232 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.4839, allocations: 84.36 kB / 0.6233 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.487, allocations: 2.097 MB / 0.6253 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.4874, allocations: 1.065 MB / 0.6264 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.4878, allocations: 98.23 kB / 0.6265 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.488, allocations: 63.42 kB / 0.6265 GB, free: 4.992 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.488, allocations: 3.938 kB / 0.6265 GB, free: 4.988 MB / 430.1 MB Notification: Performance of Templates: time 0.02461/0.5126, allocations: 16.08 MB / 0.6422 GB, free: 5.102 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) Environment - environmentSimulation: