Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07998/0.07998, allocations: 12.6 MB / 28.9 MB, free: 0.6328 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 111.5 kB / 32.5 MB, free: 3.578 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 195.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4481/0.4481, allocations: 78.52 MB / 420 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004049/0.004049, allocations: 139.9 kB / 0.5565 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1149, allocations: 68.14 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007677/0.1226, allocations: 6.075 MB / 0.629 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1262, allocations: 1.81 MB / 0.6307 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.1267, allocations: 15.94 kB / 0.6307 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.1273, allocations: 206.2 kB / 0.6309 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.129, allocations: 0.7491 MB / 0.6317 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1302, allocations: 0.5452 MB / 0.6322 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1318, allocations: 1.425 MB / 0.6336 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.1321, allocations: 191.3 kB / 0.6338 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007196/0.1329, allocations: 0.5679 MB / 0.6343 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008262/0.1337, allocations: 0.6494 MB / 0.635 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1338, allocations: 96 kB / 0.6351 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.1343, allocations: 231.9 kB / 0.6353 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1346, allocations: 266.9 kB / 0.6355 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.1352, allocations: 0.5708 MB / 0.6361 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.1369, allocations: 1.4 MB / 0.6375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1369, allocations: 0 / 0.6375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1369, allocations: 0 / 0.6375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1369, allocations: 4 kB / 0.6375 GB, free: 0.5938 MB / 446.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.007649/0.1445, allocations: 2.27 MB / 0.6397 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1446, allocations: 15.98 kB / 0.6397 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.1483, allocations: 0.5656 MB / 0.6402 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.1498, allocations: 0.7924 MB / 0.641 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.1501, allocations: 213.8 kB / 0.6412 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.1502, allocations: 64 kB / 0.6413 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.1521, allocations: 0.8302 MB / 0.6421 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1521, allocations: 0 / 0.6421 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.1522, allocations: 28 kB / 0.6421 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1522, allocations: 15.94 kB / 0.6421 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.1543, allocations: 0.8522 MB / 0.643 GB, free: 10.8 MB / 462.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.006136/0.1604, allocations: 3.043 MB / 0.6459 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006985/0.1674, allocations: 1.651 MB / 0.6476 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.1686, allocations: 0.4926 MB / 0.648 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-05/0.1687, allocations: 16.62 kB / 0.648 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.1701, allocations: 0.6172 MB / 0.6487 GB, free: 4.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.775e-06/0.1701, allocations: 0 / 0.6487 GB, free: 4.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.02005/0.1902, allocations: 4.679 MB / 0.6532 GB, free: 8 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1903, allocations: 60.06 kB / 0.6533 GB, free: 15.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.1918, allocations: 0.97 MB / 0.6542 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.1919, allocations: 41.7 kB / 0.6543 GB, free: 14.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.1924, allocations: 480.8 kB / 0.6547 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.1927, allocations: 273.7 kB / 0.655 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.193, allocations: 182.5 kB / 0.6552 GB, free: 13.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1932, allocations: 345.9 kB / 0.6555 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.1945, allocations: 0.5524 MB / 0.656 GB, free: 13.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.196, allocations: 0.6711 MB / 0.6567 GB, free: 12.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01814/0.2141, allocations: 4.038 MB / 0.6606 GB, free: 8.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.2141, allocations: 4 kB / 0.6606 GB, free: 8.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009591/0.2237, allocations: 2.82 MB / 0.6634 GB, free: 5.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.2237, allocations: 8 kB / 0.6634 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2237, allocations: 0 / 0.6634 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/0.2289, allocations: 1.262 MB / 0.6646 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.2299, allocations: 199.7 kB / 0.6648 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.2435, allocations: 5.678 MB / 0.6704 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.245, allocations: 151.2 kB / 0.6705 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.2451, allocations: 35.98 kB / 0.6705 GB, free: 13.98 MB / 494.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.0004789/0.2456, allocations: 246 kB / 0.6708 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.2458, allocations: 115.2 kB / 0.6709 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009517/0.2553, allocations: 2.637 MB / 0.6735 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2553, allocations: 8 kB / 0.6735 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2553, allocations: 4 kB / 0.6735 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.2553, allocations: 11.92 kB / 0.6735 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.2667, allocations: 3.992 MB / 0.6774 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2667, allocations: 4 kB / 0.6774 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.2673, allocations: 91.83 kB / 0.6775 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005331/0.2726, allocations: 1.317 MB / 0.6788 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.2727, allocations: 15.94 kB / 0.6788 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.287, allocations: 6.024 MB / 0.6847 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.287, allocations: 3.984 kB / 0.6847 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.2981, allocations: 3.361 MB / 0.6879 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.2985, allocations: 200.3 kB / 0.6881 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.2986, allocations: 16 kB / 0.6881 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.2996, allocations: 83.89 kB / 0.6882 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004663/0.3001, allocations: 156.4 kB / 0.6884 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.3001, allocations: 16 kB / 0.6884 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00111/0.3013, allocations: 0.6631 MB / 0.689 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3013, allocations: 0 / 0.689 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001126/0.3024, allocations: 355.7 kB / 0.6894 GB, free: 10.34 MB / 0.4981 GB 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.0002572/0.3026, allocations: 119.7 kB / 0.6895 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005342/0.308, allocations: 1.8 MB / 0.6913 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.308, allocations: 3.938 kB / 0.6913 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/0.3117, allocations: 1.168 MB / 0.6924 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.3124, allocations: 95.67 kB / 0.6925 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.3159, allocations: 1.816 MB / 0.6943 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.3167, allocations: 1.046 MB / 0.6953 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.317, allocations: 102.7 kB / 0.6954 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3173, allocations: 67.36 kB / 0.6954 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.3173, allocations: 4 kB / 0.6954 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.03305/0.3503, allocations: 19.04 MB / 0.714 GB, free: 0.9492 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)