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.001093/0.001093, 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.314/1.314, 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.001195/0.001195, allocations: 184.5 kB / 289.5 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5017/0.5017, allocations: 78.53 MB / 418.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001823, allocations: 91.86 kB / 497.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1447, allocations: 68.17 MB / 0.5523 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2447/0.3894, allocations: 6.004 MB / 0.5582 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.3931, allocations: 1.838 MB / 0.56 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.3938, allocations: 12.53 kB / 0.56 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.3945, allocations: 207.1 kB / 0.5602 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.3963, allocations: 0.7054 MB / 0.5609 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3976, allocations: 0.5509 MB / 0.5614 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3993, allocations: 1.406 MB / 0.5628 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.3997, allocations: 283.9 kB / 0.5631 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.4003, allocations: 0.5601 MB / 0.5636 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.401, allocations: 0.6566 MB / 0.5643 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.4011, allocations: 98.16 kB / 0.5644 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.4015, allocations: 226.5 kB / 0.5646 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4018, allocations: 270.8 kB / 0.5648 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.4022, allocations: 0.5733 MB / 0.5654 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4036, allocations: 1.376 MB / 0.5667 GB, free: 34.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4036, allocations: 2.219 kB / 0.5667 GB, free: 34.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4036, allocations: 0 / 0.5667 GB, free: 34.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4036, allocations: 0 / 0.5667 GB, free: 34.62 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.00664/0.4103, allocations: 2.236 MB / 0.5689 GB, free: 33.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4103, allocations: 8.906 kB / 0.5689 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.4136, allocations: 0.558 MB / 0.5695 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.4147, allocations: 0.7834 MB / 0.5702 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.415, allocations: 210.6 kB / 0.5704 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4151, allocations: 64.72 kB / 0.5705 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4165, allocations: 0.8311 MB / 0.5713 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4166, allocations: 4.031 kB / 0.5713 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/0.4167, allocations: 23.22 kB / 0.5713 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.4167, allocations: 21.34 kB / 0.5714 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.4183, allocations: 0.8467 MB / 0.5722 GB, free: 33.08 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.004828/0.4231, allocations: 3.055 MB / 0.5752 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005855/0.429, allocations: 1.707 MB / 0.5768 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.4301, allocations: 0.5515 MB / 0.5774 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.4302, allocations: 10.36 kB / 0.5774 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.4314, allocations: 0.6206 MB / 0.578 GB, free: 31.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.456e-06/0.4314, allocations: 0 / 0.578 GB, free: 31.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01808/0.4495, allocations: 4.695 MB / 0.5826 GB, free: 30.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4496, allocations: 67.06 kB / 0.5826 GB, free: 30.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.451, allocations: 0.9664 MB / 0.5836 GB, free: 29.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.4512, allocations: 40.73 kB / 0.5836 GB, free: 29.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.4515, allocations: 470.7 kB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.4517, allocations: 265.1 kB / 0.5843 GB, free: 29.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.4521, allocations: 182.6 kB / 0.5845 GB, free: 29.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.4522, allocations: 343.7 kB / 0.5848 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4533, allocations: 0.5566 MB / 0.5854 GB, free: 28.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.4545, allocations: 0.6662 MB / 0.586 GB, free: 28.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/0.4725, allocations: 4.053 MB / 0.59 GB, free: 27.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4726, allocations: 0 / 0.59 GB, free: 27.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009908/0.4825, allocations: 2.832 MB / 0.5928 GB, free: 26.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4825, allocations: 8 kB / 0.5928 GB, free: 26.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4826, allocations: 1.375 kB / 0.5928 GB, free: 26.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00499/0.4876, allocations: 1.27 MB / 0.594 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4886, allocations: 190.8 kB / 0.5942 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.501, allocations: 5.672 MB / 0.5997 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5027, allocations: 152.1 kB / 0.5999 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.503, allocations: 36.55 kB / 0.5999 GB, free: 22.96 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.0005372/0.5035, allocations: 247.2 kB / 0.6001 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.5038, allocations: 113.5 kB / 0.6002 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009076/0.5129, allocations: 2.655 MB / 0.6028 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5129, allocations: 7.031 kB / 0.6028 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5129, allocations: 1.938 kB / 0.6028 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.513, allocations: 3.469 kB / 0.6028 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.5243, allocations: 4.029 MB / 0.6068 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.5244, allocations: 1.312 kB / 0.6068 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.525, allocations: 94.8 kB / 0.6069 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005084/0.5301, allocations: 1.32 MB / 0.6082 GB, free: 19.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.5302, allocations: 13.34 kB / 0.6082 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/0.5437, allocations: 6.019 MB / 0.6141 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5437, allocations: 0 / 0.6141 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/0.5533, allocations: 3.368 MB / 0.6173 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.5539, allocations: 211.5 kB / 0.6175 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.5543, allocations: 16 kB / 0.6176 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.5555, allocations: 87.89 kB / 0.6176 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/0.556, allocations: 152.4 kB / 0.6178 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/0.5561, allocations: 16 kB / 0.6178 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001275/0.5574, allocations: 0.6631 MB / 0.6185 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5574, allocations: 0 / 0.6185 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001608/0.559, allocations: 351.7 kB / 0.6188 GB, free: 10.52 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.0003067/0.5594, allocations: 118 kB / 0.6189 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.5643, allocations: 1.913 MB / 0.6208 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5643, allocations: 0 / 0.6208 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003219/0.5676, allocations: 1.213 MB / 0.622 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5687, allocations: 84.41 kB / 0.622 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5722, allocations: 1.824 MB / 0.6238 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.5727, allocations: 1.049 MB / 0.6248 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.5731, allocations: 94.25 kB / 0.6249 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5734, allocations: 67.42 kB / 0.625 GB, free: 4.062 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5734, allocations: 5.031 kB / 0.625 GB, free: 4.059 MB / 430.1 MB Notification: Performance of Templates: time 0.03167/0.6051, allocations: 18.73 MB / 0.6433 GB, free: 1.512 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)